Marketplace, Dispatch, and Logistics System Design Questions

Designing two-sided marketplaces and real-time operational platforms end to end, where the domain shapes the architecture: rider/driver and order/courier matching and dispatch (batched vs greedy assignment, single-assignment guarantees, re-matching, pooling), order, booking and inventory flows (holds, double-booking prevention, quote-to-checkout price honoring), surge and dynamic pricing systems (demand/supply signals, damping, caps and fairness controls, pricing rules), ETA and routing services (road graphs, time-dependent weights, map-matching, traffic fusion, degraded modes), proximity-driven matching over moving supply (geo-partitioned matchers, hotspot rebalancing, boundary effects), and real-time location tracking. Covers the canonical ride-hailing, food/parcel delivery, and booking marketplace case studies and the consistency, latency, and scale challenges they share. Generic building blocks used by these designs (caching, rate limiting, sagas, stream-processing internals, spatial index primitives, observability, deployment) are covered by their own topics.

HardTechnical
66 practiced

Technical coding / algorithmic: Given a stream of noisy GPS pings for a driver, provide pseudocode for a Kalman filter-based smoother and short-term predictor of driver position for matching. Explain your state vector, motion model, measurement noise, update equations, and computational cost per update. When would you prefer a particle filter instead?

MediumTechnical
87 practiced

You're asked to choose between eventual and strong consistency for the flow: create-order -> payment -> driver-assignment. Discuss trade-offs for choosing each, and propose a hybrid design that ensures payment correctness while minimizing user-visible anomalies during assignment (e.g., double-assignments or incorrect status shown to users).

MediumTechnical
76 practiced

Theoretical: "Boundary effects": drivers near partition borders are often missed by local searches. Discuss mitigation strategies, with a cost analysis (extra queries, duplicated state) and how to tune overlap size based on density and latency targets.

HardTechnical
79 practiced

Attackers may try to game surge by simulating false demand or colluding drivers. Design detection and mitigation strategies across data-validation, anomaly detection, rate-limiting, and incentives. Include how to incorporate such defenses into the pricing pipeline to avoid false positives harming real users.

MediumSystem Design
106 practiced

System design: Design a microservice architecture for a real-time ride-matching system that must support 10M users, 5M drivers, and peak 200k matching requests/sec. Describe core components (location ingestion, proximity index, candidate generation, ML scoring, assignment service, cache), data flows, stateful vs stateless services, and SLOs for each component.

Unlock Full Question Bank

Get access to all 40 Marketplace, Dispatch, and Logistics System Design interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.