🔗 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 →
  1. 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.Beginner4 min read
  2. 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.Intermediate5 min read
  3. 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.Intermediate5 min read
  4. 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.Intermediate5 min read
  5. 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.Intermediate5 min read
  6. 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.Advanced6 min read
  7. 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.Advanced5 min read
  8. 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.Intermediate5 min read