Skip to content

ONE QUESTION. YOUR REASONING.

Design Yelp

Design a proximity service like Yelp: people find businesses near where they are and open a business’s page.

System designMaps and locationMid-level

YOUR BRIEF

What to work through

Work through yelp as a spoken system design interview. Start by clarifying the scope, sketch a working design and explain the trade-offs behind your choices.

  • Find businesses within a chosen radius of the user: 0.5, 1, 2, 5 or 20 km
  • View a business’s details
  • Business owners add, update and remove a business; changes show the next day

BEFORE YOU START

Constraints to discuss

  • About 5,000 searches a second
  • Low latency search (Hello Interview: under 500 ms)
  • Highly available; eventual consistency is fine
  • Location data is private and handled within the law
Need a starting point?

Watch for these common gaps as you prepare:

  • Separate indexes on latitude and longitude and expecting a fast radius query
  • Searching only the user’s own cell and missing businesses across the edge
  • Sharding a 1.7 GB index that fits on one server
  • Caching by raw coordinates
Read: System design questions and who asks them

Why this question is in the collection

These sources connect the problem to company interview reports or preparation guides. They do not guarantee what a company will ask you.

KEEP GOING

Your next question

Storage, files and linksDesign BitlyInfrastructure and platformDesign a rate limiterInfrastructure and platformDesign an A/B testing platformInfrastructure and platformDesign an ad click aggregator
Browse the collection
01

Pick a question

Read the brief and choose what you want to work on.

02

Talk it through

Explain your thinking. Respond to follow-ups. Draw when a design needs it.

03

Find your next improvement

Use the feedback from your interview to decide what to practise next.