Back to Problems
Practice

Design a Ride-Hailing Service Like Uber

Design a ride-hailing service like Uber

Functional requirement:

  • 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.
  • Driver Tracking: The system should be able to track the real-time location of drivers and update their status (available, busy, offline).

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

Step1
Step2
Step3
Step4
1. Resource Estimation