advancedTop 15 System Design Questions
Design a ride-sharing platform (Uber) with real-time driver location tracking.
Driver location: Redis Geospatial GEOADD drivers:{city} lon lat driverId every 4s Nearby drivers: GEORADIUS drivers:{city} lon lat 5 km with driver status Trip data: MongoDB for trip documents (flexible schema for different trip types) Real-time matching: Redis Pub/Sub for driver offer notifications Surge pricing: Redis Sorted Set tracking requests per geohash cell Driver availability: Redis Hash
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full Databases Mastery library.
Design a ride-sharing platform (Uber) with real-time driver location tracking.