Back to Problems

Design a Ride-Hailing Service Like Uber

Design a ride-hailing service like Uber

Functional requirement:

  • Driver Tracking: The system should be able to track the real-time location of drivers and update their status (available, busy, offline).
  • Ride Request: Users should be able to request a ride by providing their location and destination. The system should find the nearest available driver to fulfill the ride request.

Scale requirement:

  • 100M Daily Active Users
  • Read:write ratio = 10:1
  • Data retention for 5 years
  • Assuming 10 million ride requests per day
  • Assuming each ride (including all data information related to the ride) is about 1KB

1. Resource Estimation