MediumConceptClassic design problems
Design a ride-hailing location service.
What a good answer covers
Drivers send periodic location updates into an in-memory geospatial index (geohash or quadtree), matching queries find nearby drivers, and the updates stream through a queue for persistence and analytics.
PreviousA hot key is overloading a single cache or database node. How do you handle it?Next Design a web crawler.