Facebook Instagram Twitter Vimeo Youtube
Sign in
  • Home
  • About
  • Team
  • Buy now!
Sign in
Welcome!Log into your account
Forgot your password?
Privacy Policy
Password recovery
Recover your password
Search
Logo
Sign in
Welcome! Log into your account
Forgot your password? Get help
Privacy Policy
Password recovery
Recover your password
A password will be e-mailed to you.
Thursday, December 11, 2025
Sign in / Join
  • Contact Us
  • Our Team
Facebook
Instagram
Twitter
Vimeo
Youtube
Logo
  • Home
  • News
    • News

      House Democrats Official Online Resume Bank Exposed the PII of Thousands of Government Job Seekers by

      6 December 2025
      News

      House Democrats Official Online Resume Bank Exposed the PII of Thousands of Government Job Seekers by

      29 October 2025
      News

      Cloudflare Thwarts Record-Breaking 22.2 Tbps DDoS Attack by Paige Henley

      3 October 2025
      News

      Ransomware Attack Hits Major European Airports via Collins Aerospace Software by Husain Parvez

      3 October 2025
      News

      Steam Pulls Game After Malware Steals Over $150,000 in Crypto by Husain Parvez

      3 October 2025
  • Data Modelling & AI
    • AllBig dataBusiness AnalyticsData ScienceData Structure & AlgorithmDatabasesVector DatabaseDeep LearningEthical HackingGenerative AIMachine Learning
      Big data

      Gemini 3 Pro + Milvus: Building a More Robust RAG With Advanced Reasoning and Multimodal Power

      10 December 2025
      Big data

      Multimodal RAG Made Simple: RAG-Anything + Milvus Instead of 20 Separate Tools

      6 December 2025
      Big data

      Introducing the Embedding Function: How Milvus 2.6 Streamlines Vectorization and Semantic Search

      6 December 2025
      Big data

      Choosing a vector database for ANN search at Reddit

      6 December 2025
    • Big data
    • Business Analytics
    • Databases
    • Data Structure & Algorithm
    • Data Science
    • Deep Learning
    • Ethical Hacking
    • Generative AI
    • Machine Learning
    • Security & Testing
  • Mobile
    • AllAndroidIOS
      Android

      Reddit rolls out new verified profiles

      10 December 2025
      Android

      New Android feature gives emergency dispatchers a live view of your situation

      10 December 2025
      Android

      New Android feature lets dispatchers see your emergency situation

      10 December 2025
      Android

      The Samsung Galaxy A16 proves you just want a good phone — not a $1,000 one

      10 December 2025
    • Android
    • IOS
  • Languages
    • AllAjaxAngularDynamic ProgrammingGolangJavaJavascriptPhpPythonReactVue
      Languages

      Working with Titles and Heading – Python docx Module

      25 June 2025
      Languages

      Creating a Receipt Calculator using Python

      25 June 2025
      Languages

      One Liner for Python if-elif-else Statements

      25 June 2025
      Languages

      Add Years to datetime Object in Python

      25 June 2025
    • Java
    • Python
    • Ajax
    • Php
    • Python
    • Golang
    • Dynamic Programming
    • React
    • Vue
    • Java
    • Javascript
    • NodeJS
    • Angular
  • Guest Blogs
  • Discussion
  • Our Team
HomeData Modelling & AIBig dataDesigning a Proximity Service like Yelp
Big dataGuest Blogs

Designing a Proximity Service like Yelp

Algomaster
By Algomaster
15 June 2025
0
0
Share
Facebook
Twitter
Pinterest
WhatsApp

    Designing a Proximity Service like Yelp

    Ashish Pratap Singh's avatar

    Ashish Pratap Singh
    May 15, 2025
    ∙ Paid

    Services like Yelp, Zomato, or Google Maps have become an essential part of how we discover the world around us.

    Whether you’re looking for the best coffee shop within walking distance, a nearby gym that’s open late, or the top-rated restaurant in your city—these platforms deliver location-aware results in milliseconds, personalized and filtered to your needs.

    But how does such a system work under the hood?

    In this blog, we’ll walk through the system design of a proximity service like Yelp—a platform that helps users search for nearby businesses, view detailed listings, read and write reviews, and save favorites for future visits.

    We’ll dive deep into the high-level architecture, database design, API design, indexing strategies, caching, scalability, and how to handle billions of data points with milli-seconds latency.


    1. Requirements

    Before diving into the architecture, lets clearly define what we’re building.

    1.1 Functional Requirements

    • Search & Discovery: Users can search for nearby places (restaurants, gyms, salons, etc.) using their current location. Support filters like:

      • Distance (e.g., within 2 km, 5 km)

      • Category (e.g., cafe, spa, grocery store)

      • Ratings (e.g., 4 stars and above)

      • Open Hours (e.g., currently open)

    • Business Listing Details: Each place should have a detailed page showing:

      • Name, address, contact

      • Photos, opening hours, services

      • Location on a map

      • User reviews and ratings

    • Reviews & Ratings: Users can leave ratings (1 to 5 stars) and written reviews.

    • Business Management: Business owners can create a new listing or update details

    • Favorites: Users can bookmark or save favorite places for quick access later.

    1.2 Non-Functional Requirements

    • Scalability: The system should handle millions of users and tens of millions of listings and reviews

    • Low Latency: Search results should be returned within <200ms

    • High Availability: The service should remain operational even if individual components fail. Availability target: 99.99% uptime

    • Eventual Consistency: For certain operations (e.g., newly posted reviews or updated listings), the system can be eventually consistent rather than strongly consistent.


    2. Capacity Estimation

    Traffic Assumptions

    Let’s assume this service operates at global scale:

    • Monthly Active Users (MAU): 50 million

    • Daily Active Users (DAU): ~10 million (20% of MAU)

    • Avg. searches/user/day: 5

    • Reviews/day: ~5 million

    • New businesses added/day: 100,000

    Peak traffic may be 2–3X average load, especially during weekends, holidays, or lunch/dinner hours.

    Storage Estimation

    Business Listings

    • Assume 100 million listings

    • Each listing ≈ 2 KB (name, category, address, etc.)

    • Total = ~200 GB

    Relatively small footprint, fits well in relational or document DBs. Queryable fields (category, rating, location) should be indexed.

    Reviews

    • Assume 1 billion reviews (historical)

    • Data per review ≈ 1 KB (text + metadata)

    • Total = 1B x 1KB = ~1 TB

    Media (Photos)

    • Average photos/business: 5

    • Size per photo: ~200 KB (optimized JPEG or WebP)

    • Storage = 100M listings × 5 × 200 KB = ~100 TB

    Stored in object storage like Amazon S3, not in databases. Backed by CDN for efficient global delivery.

    Favorites

    • Assume 100M total saved favorites

    • Data per favorite ≈ 50 bytes (user_id, business_id, timestamp)

    • Total = 100M × 50bytes = 5GB


    3. High-Level Architecture

    This post is for paid subscribers

    Already a paid subscriber? Sign in
    Share
    Facebook
    Twitter
    Pinterest
    WhatsApp
      Previous article
      15 System Design Building Blocks You Should Know
      Next article
      How to Choose the Right Database in a System Design Interview
      Algomaster
      Algomasterhttps://blog.algomaster.io
      RELATED ARTICLES
      Guest Blogs

      Purple Spider Hoodie Shopping Reference Source Overview Up to 31% Off by

      10 December 2025
      Big data

      Gemini 3 Pro + Milvus: Building a More Robust RAG With Advanced Reasoning and Multimodal Power

      10 December 2025
      Guest Blogs

      Loewe Craftsmanship Frames Design 100% Authentic Guarantee by

      9 December 2025

      LEAVE A REPLY Cancel reply

      Log in to leave a comment

      Most Popular

      Reddit rolls out new verified profiles

      10 December 2025

      New Android feature gives emergency dispatchers a live view of your situation

      10 December 2025

      New Android feature lets dispatchers see your emergency situation

      10 December 2025

      The Samsung Galaxy A16 proves you just want a good phone — not a $1,000 one

      10 December 2025
      Load more
      Algomaster
      Algomaster
      202 POSTS0 COMMENTS
      https://blog.algomaster.io
      Calisto Chipfumbu
      Calisto Chipfumbu
      6815 POSTS0 COMMENTS
      http://cchipfumbu@gmail.com
      Dominic
      Dominic
      32440 POSTS0 COMMENTS
      http://wardslaus.com
      Milvus
      Milvus
      104 POSTS0 COMMENTS
      https://milvus.io/
      Nango Kala
      Nango Kala
      6810 POSTS0 COMMENTS
      neverop
      neverop
      0 POSTS0 COMMENTS
      https://geeksforgeeks.org
      Nicole Veronica
      Nicole Veronica
      11950 POSTS0 COMMENTS
      Nokonwaba Nkukhwana
      Nokonwaba Nkukhwana
      12022 POSTS0 COMMENTS
      Safety Detectives
      Safety Detectives
      2787 POSTS0 COMMENTS
      https://www.safetydetectives.com/
      Shaida Kate Naidoo
      Shaida Kate Naidoo
      6942 POSTS0 COMMENTS
      Ted Musemwa
      Ted Musemwa
      7193 POSTS0 COMMENTS
      Thapelo Manthata
      Thapelo Manthata
      6889 POSTS0 COMMENTS
      Umr Jansen
      Umr Jansen
      6880 POSTS0 COMMENTS

      EDITOR PICKS

      Reddit rolls out new verified profiles

      10 December 2025

      New Android feature gives emergency dispatchers a live view of your situation

      10 December 2025

      New Android feature lets dispatchers see your emergency situation

      10 December 2025

      POPULAR POSTS

      Reddit rolls out new verified profiles

      10 December 2025

      New Android feature gives emergency dispatchers a live view of your situation

      10 December 2025

      New Android feature lets dispatchers see your emergency situation

      10 December 2025

      POPULAR CATEGORY

      • Languages45985
      • Data Modelling & AI17589
      • Android15640
      • Java15156
      • Mobile12983
      • Guest Blogs12848
      • Javascript12713
      • Data Structure & Algorithm10077
      Logo

      ABOUT US

      We provide you with the latest breaking news and videos straight from the technology industry.

      Contact us: hello@geeksforgeeks.org

      FOLLOW US

      Blogger
      Facebook
      Flickr
      Instagram
      VKontakte

      © NeverOpen 2022

      • Home
      • News
      • Data Modelling & AI
      • Mobile
      • Languages
      • Guest Blogs
      • Discussion
      • Our Team