Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 20 · System Design · Google Maps · about 26 min to read

Watch: How Google Maps finds a route in milliseconds
▶ VideoPlay it as a journeyTutor comes with a plan

Google Maps, the case study

Everything
Everything · Open board

Boards

Before you start. A website that makes you wait for an answer is showing you latency, the time between asking and getting a reply. That’s the only idea this lesson needs already in your head. Every other word it uses, it explains the moment that word shows up.

Lesson 90 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.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • Sydney, 2004: a map that didn’t reload the page
  • The question that doesn’t scale by asking harder
  • The trick: work it out once, before anyone asks
  • The wrinkle: the numbers on the shortcuts keep changing
  • The same trick, for the picture itself
  • The same trick, for “coffee near me”
  • The one thing you cannot work out ahead of time
  • The number you’re actually judged on
  • 01 · Road Graph & Routing
  • 02 · Traffic-Aware & Alt Routes
  • 03 · Serving the Map (Tiles)
  • 04 · Geospatial Index & Places
  • 05 · Real-Time Traffic
  • 06 · ETA & Prediction (ML)
  • 07 · Map Data Pipeline & Scale
  • The numbers, by hand
  • Retrieval (cold, no peeking)

Terms it explains: shortcuts, tile, cell, ping, chain, Dijkstra's algorithm, A\, Contraction Hierarchies, node, contract, hierarchy, meets in the middle, Customizable Route Planning, quadtree, Web Mercator, vector tiles, S2, Geohash, R-tree, hidden Markov model, Waze, supersegments, Graph Neural Network, Ground Truth.

Review System Design