Answer the question
In order to leave comments, you need to log in
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
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.
Write a "bridge" between the API and the base (ClickHouse) in C as a micro-service.
Both simple and fast.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question