Design Live Rider Location Tracking for Order Maps
Last updated: November 29, 2026
Quick Overview
Design the system that ingests GPS pings from hundreds of thousands of delivery partners and streams each rider's position to the customers tracking their orders in near real time.
Zomato
November 29, 20260
0
0 solved
Design the system that ingests GPS pings from hundreds of thousands of delivery partners and streams each rider's position to the customers tracking their orders in near real time.
Live tracking is the most watched screen in the Zomato app, and New Year's Eve can multiply concurrent trackers several times over. The round checks fan-out design, persistent connections on flaky mobile networks and graceful degradation under peak load.
What the Interviewer Expects
- Estimate ping rate and concurrent viewers and size the system from them
- Separate the ingest path from the fan-out path
- Choose a push protocol suited to mobile (MQTT or WebSocket) and justify it
- Keep only latest location in a fast store, archive the rest asynchronously
- Smooth and snap noisy GPS before showing it
- Describe degradation such as lowering update frequency at peak
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you route a rider's ping to exactly the connection servers holding that order's viewers?
- What happens to a customer's map when the rider enters a basement with no network?
- How would you also feed these pings into the ETA service without coupling the two?
- How do you stop a rider app from spoofing its location?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: riders send location every few seconds while on an order; customers and the restaurant see the rider move with under 3 to 5 seconds of lag; support also sees it. Non-functional: peak of ab...
High-Level Design
Rider app sends pings over a persistent MQTT connection to a broker fleet (MQTT suits mobile: small headers, keepalive, QoS 0 for pings). Brokers publish to a Kafka topic partitioned by rider id. A lo...