Patterns (index)¶
This directory contains one short reference file per pattern topic.
Seed source for the initial topic list: https://microservices.io/tags/pattern We will refine these summaries with additional sources over time.
Decomposition & ownership¶
- Microservice Architecture
- Monolithic Architecture
- Decompose by business capability
- Decompose by subdomain
- Self-contained service
- Service per team
- Strangler application
- Anti-corruption layer
Data ownership & consistency¶
- Aggregate
- Database per service
- Shared database
- Saga
- CQRS
- Command-side replica
- Event sourcing
- Domain event
- Event-driven architecture
- Transactional outbox
- Transaction log tailing
- Polling publisher
- Publish events using database triggers
Communication & UI composition¶
- API Gateway / BFF
- API Composition
- Remote Procedure Invocation (RPI)
- Messaging
- Domain-specific protocol
- Client-side UI composition
- Server-side page fragment composition
Discovery & configuration¶
- Service registry
- Client-side service discovery
- Server-side service discovery
- Self Registration
- 3rd Party Registration
- Externalized configuration
Reliability & security¶
Observability¶
- Application metrics
- Log aggregation
- Distributed tracing
- Health Check API
- Audit logging
- Exception tracking
- Log deployments and changes
Deployment¶
- Service deployment platform
- Service mesh
- Sidecar
- Service instance per container
- Service instance per VM
- Multiple service instances per host
- Single Service Instance per Host
- Serverless deployment