Microservices
Monolith vs microservices, service boundaries, sync vs async communication, API gateways, resilience patterns, sagas, the outbox pattern, CQRS and observability.
8 lessons · about 0.7 hours
Start the first lesson →- 01Monolith vs Microservices What microservices really are, what they cost, and when they're worth it. Compare monoliths, modular monoliths and microservices with clear pictures.
- 02Finding Service Boundaries with DDD The hardest part of microservices is deciding where to cut. Learn bounded contexts, ubiquitous language, aggregates and context maps from Domain-Driven Design.
- 03Service Communication: Sync vs Async Should services call each other directly or talk through events? Compare request/response with messaging, orchestration with choreography, and learn when to use each.
- 04API Gateway, BFF & Service Discovery How clients find the right service among dozens, and how services find each other. API gateways, Backends for Frontends, service registries, and service meshes.
- 05Resilience Patterns In a distributed system something is always failing. Timeouts, retries with backoff, circuit breakers, bulkheads, fallbacks and rate limits keep one failure from taking everything down.
- 06Data in Microservices: Sagas & the Outbox Pattern Each service owns its database, so how do you keep data consistent across services without a shared transaction? Database per service, sagas, compensations and the transactional outbox.
- 07CQRS & Event Sourcing Separate the model you write with from the model you read with, and store every change as an event instead of overwriting state. Powerful patterns, explained simply, with honest trade-offs.
- 08Deploying & Operating Microservices CI/CD per service, blue-green and canary releases, feature flags, API versioning, distributed tracing and the production-readiness checklist every service should pass.