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 - source

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


Stateful server on heroku

Updated April 24, 2016 08:02 AM

user and event monitoring system

Updated February 08, 2018 06:05 AM



easiest way for push notifications

Updated August 22, 2017 12:05 PM