Problem Statement: A City-Scale Real-Time Occupancy Network
Frames parking search as a physical-state synchronization problem, not a map query.
Problem statement
Design a Parking Spot Finder platform that aggregates real-time occupancy data from heterogeneous sources — in-ground sensors on street spaces, entry/exit counters and camera guidance systems inside garages, enforcement ALPR scans, and operator overrides — and gives drivers a live map of available spots, optional guidance to a chosen spot, holds or reservations, and payment. The platform must absorb dynamic occupancy changes continuously while thousands of concurrent drivers search the same popular districts.
Donald Shoup's widely cited cruising research estimated that roughly 30% of downtown traffic is drivers searching for parking, and SFMTA's published SFpark evaluation reported that demand-responsive pricing plus live availability cut average time spent searching for parking by about 43% in pilot areas. The problem is real, measured, and municipal.
Why this is not a map search problem
A generic POI search returns mostly-static data. Parking availability is physical state that changes every few seconds and is observed by noisy sensors. Showing a spot as free when it was taken ninety seconds ago sends a driver on a wasted trip and destroys trust. The design therefore separates three concerns:
- Occupancy truth: a continuously updated, confidence-scored model of what is actually occupied, built by fusing sensor events, garage counters, ALPR scans, and manual overrides.
- Availability projection: freshness-labeled views (map tiles, facility summaries, search results) that drivers and city apps consume, with explicit staleness markers.
- Commitment: holds, reservations, and payments that must be strongly consistent because they transfer exclusive rights to one physical spot.
The four architectural planes
- Device and edge plane: sensors, garage controllers, gateways, store-and-forward buffering, OTA.
- Occupancy pipeline plane: ingestion, dedup, fusion, confidence scoring, state projection.
- Driver experience plane: search, map tiles, live WebSocket updates, holds, navigation handoff, payment.
- City and operations plane: operator consoles, enforcement, pricing policy, open-data feeds, compliance.
A strong answer keeps these planes separate: a WebSocket fan-out failure must not corrupt occupancy truth, and a sensor brownout must not silently turn committed holds into phantom spots.
Key Highlights
- •Parking availability is fast-changing physical state observed by noisy sensors, not static map data.
- •Separate occupancy truth, freshness-labeled projections, and strongly consistent commitments.
- •Shoup's cruising research estimates ~30% of downtown traffic is parking search.
- •SFMTA published that SFpark cut average parking search time about 43% in pilot areas.
- •Four planes: device/edge, occupancy pipeline, driver experience, city/operations.
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "Let me separate what is physically true from what we display, because they fail differently."
- "Before choosing databases, I want to classify each dataset by how wrong it is allowed to be."