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

Ready to master this question?

Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.

Sign in to generate a response

Next Step

Continue to Design Netflix's content recommendation system.← Back to all NoSQL questions