How to build a system to log a driver's location and online status realtime?

by THpubs   Last Updated March 14, 2019 17:05 PM

We are trying to build a system which needs to log the driver's location in real time like Uber. It needs to select the closest, online driver who is free from this data. Our API is built on NodeJS. My biggest concerns are:

  • How to log the location in real time.
  • How to do this without stressing out the server too much.

For this to work, the driver's mobile app needs to send it's the location to our server every few seconds. We need to find the best interval to send these updates and the best architecture to handle this.

Related Questions

Updated April 24, 2016 08:02 AM

Updated February 08, 2018 06:05 AM

Updated January 13, 2018 04:05 AM

Updated August 05, 2015 14:02 PM

Updated August 22, 2017 12:05 PM