Architecture · Intermediate · 11 min

Monolith vs Microservices

Compare in-process modules with independently deployed services and their operational costs.

STEP 1 / 12
Begin with one deployable application — isometric concept diagramDeployment topology and module quality are different choices. Components: 1. Client. Representative clients, not a literal user count; 2. Orders module/service. Logical component or processing boundary. Connections: 1. Client to Orders module/service: Begin with one deployable application; 2. Orders module/service to Client: Reply: Orders module/service. Illustrations are conceptual, not deployed capacity or user counts.Client → Orders module/service: Begin with one deployable application1Orders module/service → Client: Reply: Orders module/service2Client: representative traffic illustration; figure count is not a workload measurement.1ClientRepresentative clients, not aliteral user countOrders module/service: Logical component or processing boundary2Orders module/serviceLogical component or processingboundary
1Client2Orders module/service
  1. 1Client → Orders module/serviceRequestBegin with one deployable application
  2. 2Orders module/service → ClientReplyReply: Orders module/service

Conceptual illustration · figures do not imply user counts, deployed capacity or replica counts.

2 components visible · Client + Orders module/service highlighted

Orange: request / query · Blue: reply · Purple: event / control · Arrows show direction; speed is illustrative.

You’ll learn

  • Choose boundaries around coherent responsibility.
  • A network boundary adds latency and partial failure.
  • Independent services need operational ownership.

PUT THE IDEA TO WORK

From learning to practice

No related challenges are currently available. Browse practice

RELATED PATTERNS

Layered architecture ↗

Microservices ↗

Further reading

Microsoft · Microservices architecture ↗