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.

HardSystem Design
90 practiced

Design a routing engine that continues to serve useful approximate routes and ETAs during catastrophic failures (e.g., whole-region outage, loss of traffic feeds). Describe degraded algorithms, cache priming, data staleness handling, client signaling, and how to verify safety of degraded answers.

EasyTechnical
72 practiced

Describe how external traffic providers (third-party APIs) should be integrated into a production ETA pipeline. Discuss polling vs streaming, freshness handling, confidence scoring of sources, API rate limits, and how to fall back when a provider is slow or unavailable.

MediumTechnical
130 practiced

You observe sudden ETA increases for many users in a single city. Walk through a root cause analysis plan: which services and metrics to inspect (telemetry ingestion rate, traffic feed freshness, routing engine latency/errors, recent deployments), immediate mitigation steps to reduce user impact, and how to capture evidence for a postmortem.

HardTechnical
82 practiced

Write a function in Python that computes earliest arrival time in a directed graph where edge travel times are time-dependent functions of departure time (time-dependent shortest path). Describe algorithm (assumptions like FIFO property), show pseudocode or code sketch, and analyze complexity.

HardTechnical
74 practiced

Discuss trade-offs of using a deterministic heuristic-based routing system (A*/graph algorithms) versus ML-based ETA predictors that directly predict ETA from telemetry. From an SRE perspective, compare operational complexity, observability, rollback/reproducibility, and failure modes.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.