Evaluation of Google Maps' Design
Let’s look at how our map design meets the requirements.
Let’s see how the system we designed will handle millions of queries per second, ensuring a fast response time.
Availability
With a large road network graph hosted on a single server, we ran into these issues:
- We couldn’t process user queries, since it was impossible to load such a large graph into the memory, making the system unavailable to the users.
- It wasn’t possible to make a persistent two-way connection (for navigation) between the server and millions of users per second.
- It was also a single point of failure.
We solved the above problems by dividing the world into small segments. Each small segment consists of a graph that can be easily loaded into a server’s memory. With segments, we completed these objectives:
- We hosted each segment on a
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.