All lessons in Cloud Engineering: Deploy, Operate, and Recover

Regional Recovery: Replication and Write Fencing

Measure replication gaps and prevent conflicting writers during recovery.

75 minutes · Members lesson · preview

What you will learn

  • Calculate a recovery copy's known freshness gap from an explicit update ledger.
  • Distinguish replication, backup, and successful data restoration.
  • Explain why recovery activation needs enforced write authority rather than a routing change alone.

The recovery endpoint is healthy, but its latest verified update predates several acknowledged status changes. Meanwhile, an isolated primary might still accept writes. Moving callers now could expose stale data and create conflicting histories. The decision is which data state can be served and who may publish the next update.

This Rehearse-phase lesson adds a data ledger and authority model to the regional dossier. Northstar's local HTTP service does not implement distributed writes. Use a synthetic publisher ledger to reason about them, and label the result as a model unless you execute the corresponding mechanisms in a real sandbox.

Choose another lesson