Back to All 55 System Design Questions
#40Hard

Find a Rider for Uber or Uber Eats

Asked by:FacebookUberGoogleMicrosoft

Recommended Solutions from the Web

Key Details & Edge Cases You Should Know

Very similar to Proximity Service (Find Nearby Friends). This problem is about maintaining a large geospatial index.

How do you maintain a geospatial index of drivers?

In that index, how do you update the driver location quickly?

How do you remove the driver as soon as you match a rider? You don't want the driver to be matched at the same time.

How do you ensure efficient edits - when a driver location changes, your algorithm should update the index fast.