Drivers continuously stream their GPS location. Riders request a trip and must be matched with a nearby available driver within seconds. The system must scale to many concurrent drivers and handle location updates as a high-volume write stream.
Requirements
·Driver location updates arrive continuously and at high volume
·Matching a rider to a nearby driver must use proximity/geospatial lookups, not a full table scan
·Driver and trip state must be queryable with low latency
·The system should notify both rider and driver once matched
·Driver location updates arrive continuously and at high volume
·Matching a rider to a nearby driver must use proximity/geospatial lookups, not a full table scan
·Driver and trip state must be queryable with low latency
·The system should notify both rider and driver once matched