Hello. Thanks for interesting project. First, what you (we) can to try, use tcp (udp) socket for collect data. This will reduce the amount of data, and reduce the processing time per request. Other way, try to change period for send data, not 20 sec, 60 sec for example. That is, the client collects the coordinates in the buffer and transmits them every 60 seconds.