I have an update-location
socket event sent from a phone to a server and the server send an event to a client.
The update-location
event is 1 per second, the server makes an API call to google to tell me if I am in a building or if I am on street and send response to client. The problem is that sometimes I receive the responses in bulks ... 30 after 10 after 10 seconds, or with delay.
What solution can I implement for this problem?
via Sebastian Vîrlan