Question bank

No. 16 · Geospatial & marketplaces

Design a nearby places search

Intermediate35 minGeospatial indexing · Caching · Sharding & partitioning · Data modeling · Estimation

Your sketch
Opening the sketchbook…

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

Further reading

Walkthrough reading

At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.

  1. FAANG System Design Interview: Design A Location Based Service (Yelp, Google Places)

    ByteByteGo (YouTube)VideoFull walkthroughFreeVetted

    Clearest comparison of geohash, quadtree and S2 for a radius query over static businesses, with the read-heavy caching story. Treats reviews and ranking lightly.

    Link checked 2026-12-06

  2. System Design Mock Interview: Design Yelp w/ Meta Staff Engineer

    Hello Interview (YouTube)VideoFull walkthroughFreeVetted

    A senior-level guided run through Yelp: search by location and category, review writes, and keeping one review per user consistent. Good on where to put the geo index; little on moving users (nearby friends).

    Link checked 2026-12-06

  3. Design Yelp

    System Design SchoolArticleFull walkthroughFree with sign-upVetted

    Builds search incrementally from a slow SQL scan to a search index kept fresh by dual writes or CDC, plus precomputed rating aggregates. Leans on Elasticsearch rather than explaining the geo index itself.

    Link checked 2026-12-06

  4. System Design: Proximity Service / Yelp (with FAANG Senior Engineer)

    System Design Fight Club (YouTube)VideoFull walkthroughFreeVetted

    Long live-session take that spends real time on quadtree construction and when a search engine is the pragmatic choice. Loose and unedited, so skim with the chapters in mind.

    Link checked 2026-12-06

  5. S2 Cells (S2 Geometry developer guide)

    S2 GeometryDocsBackgroundFreeVetted

    Primary source for how S2 maps the sphere to a cell hierarchy and why cell ids make range scans work. Pure geometry; you supply the service around it.

    Link checked 2026-12-06

  6. Spatial Indexing (Introduction to PostGIS workshop)

    PostGISDocsBackgroundFreeVetted

    Shows what a real spatial index (R-tree over GiST) does and how a bounding-box filter plus exact check runs, which is the honest single-database baseline. No sharding or caching discussion.

    Link checked 2026-12-06

  7. GEOSEARCH (Redis command reference)

    RedisDocsBackgroundFreeVetted

    Reference for radius and box queries in Redis, handy if you keep live locations (nearby friends) in memory. Says nothing about freshness, TTLs or fan-out.

    Link checked 2026-12-06

Report a bad or misleading link

Reference audit: 4 of 4 links from the audited catalog kept

Every recommended link was kept.

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

Candidate reports

Catalog tags (unverified)

AmazonMeta (Facebook)Uber

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