System Design Problem

Design a Surge Pricing System like Uber or Lyft

Commonly Asked By:UberLyftBoltGrab

  • Dynamic pricing: Adjust ride prices based on real-time supply (drivers) / demand (ride requests)
  • Geospatial granularity: Different surge multipliers per geographic zone (H3 hexagons)
  • Real-time computation: Recalculate surge every 60 seconds
  • Surge display: Show multiplier before booking confirmation
  • Surge caps: Maximum 8x; emergency caps (1x during disasters)
  • Driver incentives: Show high-surge zone heatmap to attract supply
  • Predictive surge: Forecast upcoming demand spikes using ML
  • Smooth transitions: Gradual ramp up/down to avoid oscillation
Loading...