Microservices let teams deploy and scale parts of a system independently, but they turn function calls into network calls and one database into many. Plenty of companies adopted them too early and are now moving back towards well-structured monoliths. This course teaches the patterns that make microservices work, and the judgement to know when a modular monolith is the better answer.

What you'll learn

  • Monolith, modular monolith and microservices: trade-offs in cost, speed and team structure
  • Finding service boundaries with domain-driven design: bounded contexts and aggregates
  • Synchronous communication with REST and gRPC, and API gateways
  • Asynchronous messaging with queues and event streams such as RabbitMQ and Kafka
  • Data ownership: database per service, the outbox pattern and change data capture
  • Distributed transactions with sagas, choreography and orchestration
  • Resilience: timeouts, retries with backoff, circuit breakers, idempotency and bulkheads
  • Observability across services with OpenTelemetry tracing, metrics and correlated logs
  • Contract testing, API versioning and backwards compatibility
  • Deploying on containers and Kubernetes, and splitting a monolith step by step with the strangler fig pattern

Who it's for

  • Senior backend developers and tech leads designing or inheriting a distributed system
  • Teams considering splitting a monolith and wanting to avoid expensive mistakes
  • Engineers preparing for architecture and system design discussions

Prerequisites

Outcomes

By the end of this course you will be able to:

  1. Decide whether a system should be a modular monolith or microservices, and explain why.
  2. Draw service boundaries that keep data ownership clear.
  3. Design reliable communication with events, sagas and idempotent handlers.
  4. Trace a request across services and diagnose failures.

Course outline

ModuleTopic
1Why and when to use microservices
2The modular monolith as a starting point
3Domain-driven design and service boundaries
4Synchronous APIs: REST, gRPC and gateways
5Messaging and event-driven architecture
6Data per service, outbox and change data capture
7Sagas and consistency
8Resilience patterns
9Contract testing and versioning
10Observability with OpenTelemetry
11Deployment, Kubernetes and platform concerns
12Project: splitting a monolith with the strangler fig pattern

FAQ

Which language do you use?

Examples use a mix of TypeScript, Java and Go, but the course is about architecture, so you can follow along in your own stack.

Do I need Kubernetes experience?

No. We cover what matters for service design. Kubernetes Fundamentals goes deeper on running clusters.

Will you tell me microservices are always the answer?

No. For many small teams a modular monolith is faster and cheaper, and we show how to recognise that.

How do I join?

Get in touch and we'll share the current format, schedule and enrolment details.