A Pattern Language for Microservices
#microservices#architecture#patterns#devops#distributed-systems
microservices.io by Chris Richardson offers a pattern language for microservice architectures: a structured set of patterns that answer how to decompose, communicate, deploy, and operate services. This post summarizes that language by category and links to the source so you can go deeper on each pattern.

Source: microservices.io — A pattern language for microservices. Pattern language by Chris Richardson.
Architectural style
| Pattern | Summary |
|---|---|
| Monolithic architecture | Link - Single deployable unit. |
| Microservice architecture | Link - Independently deployable, loosely coupled services. |
Service boundaries
| Pattern | Summary |
|---|---|
| Decompose by business capability | Link |
| Decompose by subdomain | Link |
| Self-contained service | Link |
| Service per team | Link |
Refactoring
| Pattern | Summary |
|---|---|
| Strangler application | Link |
| Anti-corruption layer | Link |
Service collaboration
| Pattern | Summary |
|---|---|
| Database per service | Link |
| Shared database | Link |
| Saga | Link |
| Command-side replica | Link |
| API composition | Link |
| CQRS | Link |
| Domain event | Link |
| Event sourcing | Link |
Transactional messaging
| Pattern | Summary |
|---|---|
| Transactional outbox | Link |
| Transaction log tailing | Link |
| Polling publisher | Link |
Testing
| Pattern | Summary |
|---|---|
| Consumer-driven contract test | Link |
| Consumer-side contract test | Link |
| Service component test | Link |
Deployment
| Pattern | Summary |
|---|---|
| Multiple/Service instance per host, VM, container | Link |
| Serverless deployment | Link |
| Service deployment platform | Link |
Cross-cutting concerns
| Pattern | Summary |
|---|---|
| Microservice chassis | Link |
| Externalized configuration | Link |
| Service template | Link |
Communication
| Pattern | Summary |
|---|---|
| RPI | Link |
| Messaging | Link |
| Domain-specific protocol | Link |
| Idempotent consumer | Link |
External API
| Pattern | Summary |
|---|---|
| API gateway / BFF | Link |
Service discovery
| Pattern | Summary |
|---|---|
| Service registry, Client/Server-side discovery, Self/3rd party registration | Link |
Reliability
| Pattern | Summary |
|---|---|
| Circuit breaker | Link |
Security
| Pattern | Summary |
|---|---|
| Access token | Link |
Observability
Log aggregation, Application metrics, Audit logging, Distributed tracing, Exception tracking, Health check API, Log deployments. See microservices.io observability.
UI design
| Pattern | Summary |
|---|---|
| Server-side / Client-side UI composition | Link |
Summary
See microservices.io patterns index and the PDF summary. Book: Microservices Patterns by Chris Richardson.
Comments