Design a Proximity Service

Last updated: June 17, 2026

Quick Overview

Design a service to find nearby places, people, or events. Cover geospatial indexing (geohash, quadtree), efficient radius queries, ranking by relevance, and handling location updates at scale.

Meta
System Design
Software Engineer
Meta
June 17, 2026
Software Engineer
Onsite
System Design
Medium

124

0

182 solved


Design a service to find nearby places, people, or events. Cover geospatial indexing (geohash, quadtree), efficient radius queries, ranking by relevance, and handling location updates at scale.

How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional Requirements:

  • Nearby Places: Users can search for nearby places based on their current location.
  • Nearby People: Users can find other users within a specified radius.
  • **Nea...
Capacity Estimation

Assuming Meta has around 3 billion users:

  • Active Users: 10% (300 million) active users at peak.
  • Location Queries: If each user makes 5 queries per day, that results in 1.5 billion queries ...

Submit Your Answer
Markdown supported

Related Questions