Microservices
Service boundaries, communication, reliability, distributed data and operations — and when not to use microservices.
Microservices are an architecture style in which a system is built from independently deployable services. Each service is owned by one team and has its own data. The style buys independent deployment and scaling, and it pays for them with distributed-systems complexity.
Topics in this section
- Microservices FundamentalsMonoliths, modular monoliths, service boundaries and the basic infrastructure of a service landscape.
- Service CommunicationREST, gRPC, messaging, Kafka, RabbitMQ and event-driven integration.
- Reliability PatternsTimeouts, retries, circuit breakers, bulkheads, rate limiting, idempotency and graceful degradation.
- Data and ConsistencyDistributed transactions, sagas, the outbox, deduplication, CQRS, event sourcing and data ownership.
- Observability and OperationsLogging, metrics, tracing, OpenTelemetry, deployment, containers, security and resilience testing.
- Microservices Case StudiesProgressively detailed architectures, each asking whether microservices are justified.