1

I have developed a tracking system using a GPS device connected to a Linux box. It collects the coordinates as it progress. It's done with a python script, which is listening to the GPS device and write the coordinates to a CSV file when it sees new reading by the GPS device.

My scenario is to use multiple of these Linux boxes each connected to a GPS device. I need all collected coordinates to be synchronized to a central server in realtime. The purpose of this is for, mapping all the devices in in realtime in the central server.

My question is about, how and what are the technologies can I use to synchronize the coordinates from multiple devices to the central server in realtime.

As of my research, I have came across of two primary way.

  1. Using RSYNC - synchronize the collected data periodically to upstream with Linux's rsync
  2. Push the data through HTTP API

There are 2 problem with above mentioned methods, one is, one is this types of synchronization can not be set to work on realtime. Always there will be a delay of sync interval. Second is, I am afraid, if the sync interval is very low, the central server will become resource hungry.

Am I missing a 3rd idea or one of these both will fit to my work?

  • As per the Tour there should only be one question per question so I think you should dispense with your second (performance) question for now. That leaves the technology recommendation that you seem to be seeking which can be problematic: meta.gis.stackexchange.com/questions/3660/… Anything that you can do to further specify the technology (hardware or software) and what your research so far has uncovered as candidates will help to get this re-opened. – PolyGeo Oct 21 '15 at 8:37
  • Question modified, I believe it fits the requirements now.. – BlueBird Oct 21 '15 at 10:29
  • You could setup your tcp server to forward your data to a database ie mysql. – Gandalf Oct 21 '15 at 10:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.