Skip to content
StackDecode
System Design
3. Client-Server ArchitectureAnimated

Microservices Architecture

Many small services, each owned by a team and deployed independently.

The idea

Each service handles one business capability, has its own data, and communicates over the network.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

ClientAPI gatewayUsersOrdersPaymentsDBs
  • 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

  1. 1Split by business capability
  2. 2Give each service its own database
  3. 3Communicate with APIs or events
  4. 4Deploy and scale each independently

Where it is used

Large organisations and high-scale systems.

Watch out for

Network calls, data consistency and operations become much harder.

Related