System Design
11. Microservices ArchitectureAnimated
Distributed Configuration
Central, dynamic configuration for services.
The idea
A config service lets many instances read and update settings without redeploying.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
A small, strongly consistent cluster stores configuration, locks and membership.
- step:
- 1/4
- at:
- Coordination service (ZooKeeper / etcd)
1/8
The green dot is a request moving through the system.
Step by step
- 1Store config centrally
- 2Services fetch on start
- 3They watch for changes
- 4Apply updates safely
Where it is used
Feature flags and settings.
Watch out for
A bad config pushed everywhere is an outage. Roll out gradually.