This question evaluates a candidate's ability to design scalable, low-latency real-time delivery and route-visualization systems, assessing competencies in distributed systems, event-driven architectures, geospatial data processing, API design, operational monitoring, privacy controls, and failure recovery within the System Design domain.
Design a platform that allows dispatchers and end customers to view couriers' real-time positions and routes for millions of deliveries per day. The system must ingest GPS data from courier apps, compute and render routes, stream live updates to web/mobile clients, and support historical route queries.
Detail: service architecture, data model, GPS ingestion pipeline, route computation, map rendering, event streaming, scalability plan, latency vs. consistency trade-offs, offline handling, privacy controls, failure recovery, APIs (orders, assignments, locations, queries), capacity/storage estimates, and monitoring/alerting.
Login required