G
G
Gleb Nikolaev2017-05-27 21:05:21
go
Gleb Nikolaev, 2017-05-27 21:05:21

On what to do the statistics collection server?

Good afternoon!
The task is to raise the server to receive a very large number of parallel short GET (possibly in the future and POST in JSON format) requests and further write the received data to the ClickHouse database.
There is a choice between node.js and a self-written application on GO. I'm also looking at the phalcon framework. Or do you recommend something else?
The server is needed solely for collecting statistics. The client part for viewing and analyzing the received data is a completely different topic.
I will repeat the main aspects - a lot of requests (mainly GET), the ClickHouse database, the client part is not important.
I would be glad to hear your thoughts on this. Thanks

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Rogozhkin, 2017-06-02
@glebn

https://github.com/roistat/go-clickhouse
https://github.com/kshvakov/clickhouse
https://golang.org/pkg/net/http/#ListenAndServe
Be sure to read Kernighan and Donovan, incl. h. the chapter on the web server.

X
xmoonlight, 2017-05-27
@xmoonlight

Write a "bridge" between the API and the base (ClickHouse) in C as a micro-service.
Both simple and fast.

D
Dimonchik, 2017-05-27
@dimonchik2013

https://habrahabr.ru/company/badoo/blog/280606/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question