<aside>
This section is part of the 5-hour System Design course by Mukul Raina
Section 6: Geospatial Systems

Recognition signal: “When the interviewer asks about finding nearby entities, location-based queries, or real-time position tracking, this is the section you reach for.”
Geospatial systems solve a specific class of problem: given a point on Earth, find other points near it, and do so at extreme throughput with data that changes every few seconds. In a ride-sharing platform, this translates to “which drivers are near this rider?” answered 250+ times per second against a spatial index receiving 1.25 million position updates per second.
This is the section that separates a strong interview answer from a generic one. Most candidates describe matching as “find the closest driver.” This section gives you the vocabulary and depth to explain how that lookup actually works at scale.
What We’ll Cover
Where This Section Fits
| Dependency | Connection |
|---|---|
| Section 3: Capacity Estimation | 1.25M GPS/sec is the number that motivates everything here |
| Section 4: Architecture | Location Service sits in the Real-Time Services group |
| Section 5: Data Flow | Location update flow (write path) and nearby query (read path) |
| Section 7: Matching | Matching calls the spatial index to find candidate drivers |
| Section 8: Database Design | Redis for live positions, time-series DB for history |