Loading…
How We Built a Smarter Pickup Experience for Gated Communities
Lyftwinnieyan
Summary
Pickups in gated communities account for up to 30% of Lyft rides in certain markets, yet locked gates and lack of advance instructions historically resulted in higher cancellation rates and extended wait times. To resolve these friction points, Lyft's Mapping team developed an end-to-end mapping and routing framework. The team built an algorithm to generate gate area boundaries, enabling the app to detect gated communities and offer riders explicit choices between waiting inside or meeting outside the gate. Routing services incorporate the gate as an intermediate waypoint to direct drivers along the proper approach path while triggering timely gate access instructions. Following deployment, rides with shared gate instructions exhibited lower cancellation rates from both parties, shorter walking distances to pickup spots, and fewer extended driver wait times.
Context
Gated community pickups account for 25% to 30% of Lyft rides in selected markets. Previously, the app lacked gated-community guidance: riders dropped pins inside locked gates without explicit options to meet outside, while drivers arrived at barriers without access codes, driving up cancellations, wait times, and stressful back-and-forth messaging.
Approach / What changed
Lyft's Mapping team built a gate area shape generation algorithm using OpenStreetMap and driver feedback to detect community boundaries via GPS. The app offers riders pickup choices inside or outside gates based on historical usage. Routing treats the gate as an intermediate waypoint, and post-match UI prompts riders to share codes or instructions using a numpad and structured presets.
Takeaways
- Gated community pickups represent 25% to 30% of Lyft rides in selected markets, previously driving friction due to inflexible pickup spots and missing advance access instructions.
- Lyft implemented a gate area shape generation algorithm using OpenStreetMap data and driver feedback, automatically switching the app into a gate-aware mode based on GPS location.
- Introducing gate waypoints into routing and structured instruction sharing reduced rider and driver cancellation rates, pickup walking distances, and wait times over 5 minutes.
Related reading
Grab ·
How We Prevented App Performance Degradation from Sudden Ride Demand Spikes
Grab experienced severe system strain when sudden localized spikes in ride demand, triggered by events like heavy rain or concert dismissals, coincided with driver shortages. These localized bursts overloaded the platform and degraded the experience for users outside the affected areas. To mitigate this, engineers created the Spampede filter, a circuit-breaker mechanism placed at the start of the booking pipeline. The filter converts pickup locations into Geohash Integer buckets and partitions time using Unix timestamps, tracking unfulfilled requests in Redis with atomic increments and time-to-live expirations. When unallocated requests exceed configured thresholds within a specific bucket, the system immediately short-circuits new incoming bookings to protect overall platform stability.
Corey ScottGrab ·
Guiding You Door-to-Door via Our Superapp!