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, 2026Software 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
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- 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 ProblemsSample 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