Skip to content
System Designer

Stay up · 4 minutes

Surviving a region

A whole region can go dark. Run in two, and send people to the one that is up.

Open this lesson
A whole region can go dark. Run in two, and send people to the one that is up.

Zones and regions

A zone is one data centre building; a region is a city-sized group of zones. Spreading over zones survives a fire in one building. A whole region can still fail, which is rare (a few hours a year at most, approx.) but real. Surviving it means a second region with its own copy of the data.

The price

A standby can take over only with an ownership decision. Asynchronous writes that never reached it remain a recovery gap.

Try the idea

The whole home region will go down at noon. Keep a second region ready and send traffic to it.

Key numbers

Round trip between regions
≈ 80 ms. US to Europe, approx.
Cost of a second full region
≈ 2x. approx.
Moving traffic away from a dead region
≈ 1 to 5 minutes. DNS and health checks, approx.

Check your reasoning

Think through these questions before opening the lesson. In the game you can test the idea and compare your reasoning.

  • Zones protect against:
  • What must a second region have to be useful?
  • Why is writing in two regions hard?

The key point

Multiple regions buy survival at the price of cost and harder data.

Practise this idea

Continue through the lesson tracks