...

>

Detailed Design of Google Maps

Detailed Design of Google Maps

Demystify the detailed System Design of Google Maps by analyzing segment storage and request handling workflows. Learn how distributed databases manage road networks and how real-time data collection via WebSockets and analytics engines improves ETA accuracy.

This lesson details the design by addressing two key questions:

  1. How do user requests benefit from segments?

  2. How do we improve user experience by increasing ETA accuracy?

Segment setup and request handling

We will examine how segment data is stored and how the system processes user requests. This includes the storage schema, segment hosting, and request handling workflows.

Storage schema

We store specific segment data in a Key-Value Store and a Graph Database:

Key-value store

  • The segment ID.

  • The serverID hosting the segment.

  • Boundary coordinates (latitude/longitude) defining the segment polygon.

  • A list of neighbors ...