Real-time geospatial matching platform powering 100M+ rides. Key challenges: geospatial indexing, location ping ingestion, rider-driver matching, surge pricing.
Requirements
Geospatial Indexing: H3 / Quadtree
System Architecture Flow
Driver App (WebSockets) → Location Ingestion Service → Kafka → Redis (H3 Spatial Index)
Rider Request → Dispatch Service → Geospatial Matcher → Driver Notification