Waymo Common Problems
Parking Lot / Ride-Hailing System Design
System DesigneasyLast reported September 2025
By AceOffer · Updated September 2025 · Reported 1× across 190+ candidate reports
Insider Notes
**Common mistakes:** Treating the system as a pure ride-hailing design and ignoring the internal vehicle lifecycle / spot management component; Not modeling the vehicle state machine explicitly, leading to unclear transition logic; Forgetting concurrency issues when multiple dispatchers try to assign the same vehicle
**What passers do:** Explicitly modeling the vehicle state machine with legal transitions before jumping to services; Addressing spot-allocation consistency (locking mechanism) proactively; Proposing concrete, measurable performance metrics with justification
**Why people fail:** Focusing only on the customer-facing ride request flow without addressing internal fleet/spot management; Skipping data model and jumping directly to high-level boxes without detail; Unable to articulate relevant metrics beyond generic 'latency and throughput'
**Edge cases probed:** Vehicle runs out of charge while in a regular (non-charging) spot before being dispatched — needs re-routing to charging spot; All charging spots are occupied when a vehicle needs to charge; Customer cancels request after vehicle is already dispatched; Simultaneous ride requests when only one AVAILABLE vehicle exists (race condition in assignment)
**Alternative approaches:** Event-driven with Kafka for state transitions (Decouples services and enables replay/audit of vehicle state history, but introduces eventual consistency — a vehicle might appear AVAILABLE briefly while already being assigned in another partition.); Centralized monolithic coordinator (Simpler to reason about strong consistency for spot allocation and dispatch, but becomes a single point of failure and bottleneck at scale.); Geospatial dispatch (if multi-lot or large lot) (Use PostGIS or Redis GEO commands to find nearest available vehicle to a requested exit gate — more accurate but adds infrastructure complexity.)
Waymo · System Design · Last reported September 2025