Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Distributed Configuration Design

Design a configuration service that keeps reviewed, versioned configuration in a consistent store, delivers it to thousands of nodes through watches and rolls each change out in stages that halt and roll back on their own.

Advanced1 roadmap

3 objectives 5 steps about 115 min

Check what you know

The lessons are coming later. The knowledge check is ready now.

Take the knowledge check

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Design a versioned configuration store on a consensus-backed system such as etcd, with immutable versions, validation and review recorded in an audit trail, compare-and-swap on the version rather than wall-clock order for concurrent edits, and state which reads must be linearizable and which may come from a follower or a local cache.
  • Design delivery to 10,000 or more nodes through watches or long polling that resume from a revision, with a last-known-good copy on every node, and describe node behaviour when the service, a watch connection or a follower is down or stale.
  • Design a configuration rollout as a persisted state machine (validated, canary, staged, complete or rolled back) with health gates and a blast-radius limit per key, which halts and returns nodes to their last-known-good version automatically when a bad change hurts readiness.

Lesson plan

5 steps, about 115 min · 0 of 4 lessons available so far

  1. Scoping a configuration service: keys, readers, change rate and blast radius Worked example · 20 min · coming later
  2. Versioned configuration on a consensus store: validation, review and read consistency Concept · 25 min · coming later
  3. Lab: watching etcd revisions and falling back to last-known-good Lab · 30 min · coming later
  4. A configuration rollout as a state machine: stages, gates and rollback Worked example · 25 min · coming later
  5. Distributed configuration design check Knowledge check · 6 questions

Practise it

Run a three-member etcd cluster and 50 simulated clients that watch a configuration prefix; push 20 versions while you partition one member from the other two (show that its serializable reads go stale and that it cannot commit), cut one client off and restart others, and show that each client ends on the latest version or reports the last-known-good version it still uses; show that two concurrent edits to one key are resolved by a compare-and-swap on the revision; then write the rollout state machine for 10,000 nodes with stages, gates and blast-radius limits per key, and test the rollback with a bad configuration that makes most canary nodes fail readiness.

References

Hard prerequisites

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.