Question bank

No. 25 · Geospatial & marketplaces

Design surge pricing for a ride-hailing app

Advanced45 minStream processing · Time windows · Counting & aggregation · Geospatial indexing · Consistency models · Caching

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Partial reading

Vetted reading covers part of the design or the underlying paper, not the whole problem. Links go to other sites; we credit and describe them rather than copy them.

No complete public walkthrough of a surge pricing system was found; the reading covers the geo bucketing and streaming pieces, and our worked approach ties them together.

  1. Building Scalable Streaming Pipelines for Near Real-Time Features

    Uber EngineeringEngineering blogPartialFreeVetted

    The closest primary source: Uber counts rider and driver events per hexagon in one-minute windows, smooths across neighbouring cells, and explains the Flink job sizing. Covers the feature pipeline, not the pricing model or how prices reach the app.

    Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)

  2. H3: Uber's Hexagonal Hierarchical Spatial Index

    Uber EngineeringEngineering blogBackgroundFreeVetted

    Explains why Uber buckets demand and supply into hexagons and names surge as a use case, so you can justify the cell choice. Background only; no pipeline or pricing logic.

    Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)

  3. How surge pricing works

    UberDocsBackgroundFreeVetted

    Product-level rules worth anchoring requirements on: surge is per area, changes in real time, and is shown upfront on the offer. No engineering detail.

    Link checked 2026-12-06

  4. Apache Flink Documentation: Windows

    Apache FlinkDocsBackgroundFreeVetted

    Reference for tumbling versus sliding windows, late events and triggers, which is the vocabulary for computing demand per cell per minute. Generic stream processing, not surge-specific.

    Link checked 2026-12-06

Report a bad or misleading link

Reference audit: 0 of 2 links from the audited catalog kept
  • docs.google.com/document/d/1uJpPuhO6vZK_VCxBYKbCJoQYrbFE9Ihrsfs919X8f4 Google Doc of unclear provenance; its text is copied from a Final Round AI answer page and is thin.
  • docs.google.com/document/d/1hfUmr8SpBMCkEMlOeXl6Y-H85PMzq-zd07Isb1ltWZ AI-generated ("GPT Solution", a pasted ChatGPT answer).

We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.

COMPANY EVIDENCE · NOT A FREQUENCY CLAIM

Where it has been reported

Catalog tags (unverified)

UberLyft

Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.

Report or add attribution evidence · How we label evidence

KEEP GOING

From our Learn guides

Related questions