Design Ride Sharing Application
Problem Statement
Design Ride-Sharing Service
OR
Design A Ride Sharing App like Uber
OR
Create a ride-sharing service like Uber with real-time matching and GPS tracking.
Full Question:
Design a ride-sharing service similar to Uber with the following features:
Core Requirements:
- Driver and rider registration and profile management.
- Real-time ride matching.
- Real-time GPS tracking of drivers and navigation for trips.
- Fare calculation and payment processing.
- Rating and review system.
- Trip history and receipts.
Scale Requirements:
- 100 million users (riders and drivers).
- 10 million rides per day.
- Real-time location updates every 3-5 seconds.
- 99.9% availability.
- Sub-second matching response time.
Additional Considerations:
- How would you efficiently match drivers and riders in a geographic area? (Geospatial indexing).
- How would you handle surge pricing based on supply and demand?
- How would you design the system to calculate and update ETAs in real-time?
- What communication protocol would you use for real-time location updates?
PlayGround
Loading...
Loading...