What is the most efficient way to store analytics beacons?

Like Google Analytics sends beacons from javascript that track events, what are the most efficient ways to collect beacon radio data and return to the client in the fastest time?

For example, if I have a call on a server with a server, I want to make this call as quickly as possible on the client server.

PHP for flat files? PHP in a local queue? A Java Server that logs onto a queue and maintains a remote queue connection all the time? C ++ user server?

It will be about 1000 requests per second.

+3
source share
1 answer

There are two aspects to this.

1) . , HTTP- 200 OK , , , . , , /, Gearman.

2) , , . 1000 , . , . / , , , .

+1

Source: https://habr.com/ru/post/1779793/


All Articles