Geo-indexing + matching + pricing — at city scale.
Uber Dispatch: geo-indexing + matching + pricing
compose the pieces into a design story
Sharding by city or H3 cell helps locality.
Rideshare dispatch combines a high-velocity geo index of drivers with a matching service that pairs riders with nearby drivers. Surge pricing balances supply and demand in real time.
Driver locations stream to a sharded geo index (Redis GEO, H3).
Matching service queries 'drivers within radius' and ranks.
Authoritative trip state in a transactional store; location history in a TSDB.
Surge: per-cell demand/supply ratio updates pricing.
Rider requests ride downtown.