System Design Patterns
Explore microservice patterns for splitting services, managing data, and keeping systems running.
Microservice architecture map
56 patterns. Select a node to open its guide.
- Motivation → solution
- Alternative solutions
- General ← specific
Scroll horizontally to explore the map.
Application patterns
Application infrastructure patterns
Infrastructure patterns
Architecture style
Decomposition
Data patterns
Database ownership
Querying
Data consistency
Testing
User interface
Service standards
Security
Communication patterns
Communication styles
Transactional messaging
Reliability
Message handling
External APIs
Service discovery
Observability
Deployment
Additional catalog patterns
- Monolithic architecture
- Microservice architecture
- Business capability
- Decompose by subdomain
- Self-contained service
- Service per team
- Strangler application
- Anti-corruption layer
- Database per service
- Aggregate
- Saga
- Command-side replica
- API composition
- CQRS
- Domain event
- Event sourcing
- Txn outbox
- Log tailing
- Polling publisher
- Idempotent consumer
- Remote procedure calls
- Messaging
- Domain-specific protocol
- API gateway
- Backend for frontend
- Server-side UI fragments
- Client-side UI composition
- Client-side discovery
- Server-side discovery
- Service registry
- Self-registration
- Third-party registration
- Circuit breaker
- Access token
- Multiple instances per host
- One instance per host
- Instance per VM
- Instance per container
- Serverless deployment
- Deployment platform
- Sidecar
- Service mesh
- Service chassis
- External config
- Service template
- Consumer-driven test
- Consumer-side contract test
- Service component test
- Log aggregation
- Application metrics
- Audit logging
- Distributed tracing
- Exception tracking
- Health check API
- Log deployments and changes
Browse patterns
56 patterns
Architecture and boundaries
What gets deployed together, and who owns it?
Migration and compatibility
How can an old system change while still serving traffic?
Data ownership and consistency
Who owns a fact, and how can other services use it?
Reliable event delivery
How do state changes reach consumers through failures?
APIs, messaging, and UI
How do clients and services exchange information?
Traffic, reliability, and identity
How do calls find a healthy destination and carry trusted identity?
Deployment and runtime
What runs together, and what failure boundary does it share?
Shared service standards
Which choices should be consistent across services?
Testing service boundaries
How do teams verify changes without running the whole system?
Observability and operations
What evidence explains a failure or change in production?