Skip to content
StackDecode
System Design
18. Advanced Distributed ArchitectureAnimated

Global Distributed Systems

Systems serving users worldwide.

The idea

Spread across regions to cut latency and survive failures, which makes data consistency the hard part.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

Users EUUsers USEU regionUS regionEU DBUS DB
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

Users are routed to the nearest region for low latency.

step:
1/4
at:
Users EU
1/10

The green dot is a request moving through the system.

Step by step

  1. 1Place regions near users
  2. 2Route to the nearest
  3. 3Replicate data
  4. 4Handle conflicts

Where it is used

Global products.

Watch out for

The speed of light limits cross-region consistency.

Related