. It shows the world cut into cells, so “what is near me” becomes one cell and its neighbours. Here you will see why this design does not need that grid.
Before you start. Three lessons are borrowed. Design the Whole Thing (the interview, assembled) gave you the steps of a design answer: ask, estimate, API, data, design, bottlenecks, with nothing on the whiteboard until a number pays for it. What is near me (geohash cells, and fences by ray casting) taught cells, the lookup keyed by place, and you will use it as the thing to compare against. Design Twitter, in the interview taught fan-out, which means sending one new item to many readers, and this system is a fan-out of locations. This lesson is how to say it all in forty-five minutes.
Lesson 115 of 115 in System Design
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.