Design: nearby place search

The core idea

Nearby search finds places around a chosen point, applies the reader's filters, and orders the matches.

A map makes this look like drawing a circle.

In this lesson

  • Define what nearby means
  • Start with a spatial database
  • Separate candidates from accepted results
  • Cover the whole search area
  • Records and the HTTP boundary
  • A moved-in place that the index cannot see
  • Keep fallback from becoming the outage
  • Dense areas, caches and moving requests
  • Run the query and recovery

Continue reading

Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.