System Design
11. Microservices ArchitectureAnimated
Microservices Fundamentals
Small services that own a capability and its data.
The idea
Each service is independently deployable and owned by one team, communicating over the network.
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
Clients call one entry point.
- step:
- 1/4
- at:
- Client
1/8
The green dot is a request moving through the system.
Step by step
- 1Identify capabilities
- 2Build one service per capability
- 3Give each its own data
- 4Connect with APIs and events
Where it is used
Large systems and teams.
Watch out for
You pay in complexity: networks fail and data is distributed.