Microservices Architecture & Monolith Migration

Monolith vs modular monolith vs microservices, DDD boundaries, data ownership, sync vs async, CQRS, event sourcing, strangler fig migration and the distributed-monolith trap

About 95 minutes · 15 exam questions · 9 interview questions · 2 code labs

What you will learn

  1. The architecture spectrum: monolith → modular monolith → microservices → functions
  2. Why evolve at all? Drivers, fitness functions and Conway's law
  3. Finding service boundaries with DDD bounded contexts
  4. Database per service and distributed data
  5. Communication: sync vs async, and service discovery
  6. The API gateway and BFF in a microservice landscape
  7. CQRS: separate the write model from read models
  8. Event sourcing: the log is the source of truth
  9. Contracts: versioning, consumer-driven contract tests and independent deploys
  10. Strangler fig migration: monolith → services without a big-bang rewrite
  11. The distributed monolith and other anti-patterns

Previous: Observability: Logs, Metrics, Traces & SLOs · Next: Deployment, Kubernetes & Release Strategies