The Code Notebook
Free course ยท 11 lessons ยท about 1.3 hours

Microservices

Monolith to microservices, step by step: when not to use them, domain-driven design, the strangler fig, REST vs gRPC, events, Kafka, API gateways, service discovery, database per service, and saga, CQRS, outbox and circuit breakers.

โ–ถ every lesson on YouTube๐Ÿ““ handwritten notes PDF for each lessonโœ… track your progress
7:43
Lesson 1

Monolith vs Microservices Explained Simply

Why do companies like Netflix and Amazon use microservices, and when should YOU avoid them? Lesson 1 of the complete Microservices Course: monolith vs microservices, explained with simple notebook-style diagrams.

โ–ถ 7:43 video๐Ÿ““ notes PDF๐Ÿ”’ free account
6:57
Lesson 2

Microservices Characteristics & When NOT to Use Them

Why do so many teams get SLOWER after moving to microservices? Lesson 2 of the complete Microservices Course: the 9 characteristics of microservices, Conway's law, the distributed monolith trap, and 5 signs you should not useโ€ฆ

โ–ถ 6:57 video๐Ÿ““ notes PDF๐Ÿ”’ free account
6:31
Lesson 3

Domain-Driven Design for Microservices: Bounded Contexts & Aggregates

How do you decide where one microservice ends and the next begins? Lesson 3 of the complete Microservices Course: Domain-Driven Design explained simply.

โ–ถ 6:31 video๐Ÿ““ notes PDF๐Ÿ”’ free account
5:50
Lesson 4

How to Break a Monolith into Microservices: Strangler Fig Pattern

Why do big-bang rewrites fail, and how do you break a monolith safely? Lesson 4 of the complete Microservices Course: how to find service boundaries, which service to extract first, and the Strangler Fig pattern step by step,โ€ฆ

โ–ถ 5:50 video๐Ÿ““ notes PDF๐Ÿ”’ free account
6:44
Lesson 5

REST vs gRPC: Synchronous Communication Between Microservices

Your checkout calls 4 services in a row. What happens when one gets slow? Lesson 5 of the complete Microservices Course: synchronous communication.

โ–ถ 6:44 video๐Ÿ““ notes PDF๐Ÿ”’ free account
5:46
Lesson 6

Async Communication & Event-Driven Architecture

What happens to an order when the email service is down? Lesson 6 of the complete Microservices Course: asynchronous communication.

โ–ถ 5:46 video๐Ÿ““ notes PDF๐Ÿ”’ free account
5:51
Lesson 7

Apache Kafka for Microservices: Topics, Partitions & Consumer Groups

How does Kafka handle thousands of events per second and still keep them in order? Lesson 7 of the complete Microservices Course: Apache Kafka explained simply.

โ–ถ 5:51 video๐Ÿ““ notes PDF๐Ÿ”’ free account
4:49
Lesson 8

API Gateway Pattern & Backend for Frontend (BFF)

Why should a mobile app never call 6 microservices directly? Lesson 8 of the complete Microservices Course: the API Gateway pattern.

โ–ถ 4:49 video๐Ÿ““ notes PDF๐Ÿ”’ free account
4:54
Lesson 9

Service Discovery & Load Balancing in Microservices

How does one microservice find another when IP addresses keep changing? Lesson 9 of the complete Microservices Course: service discovery.

โ–ถ 4:54 video๐Ÿ““ notes PDF๐Ÿ”’ free account
5:15
Lesson 10

Database per Service & Data Ownership

Why does sharing one database quietly turn your microservices back into a monolith? Lesson 10 of the complete Microservices Course: the database per service pattern.

โ–ถ 5:15 video๐Ÿ““ notes PDF๐Ÿ”’ free account
18:19
Lesson 11

Saga, CQRS, Outbox & Circuit Breakers: How Microservices Stay Consistent

4 topics in one lesson: The Saga Pattern, CQRS & Event Sourcing, Outbox & Idempotency and Fault Tolerance.

โ–ถ 18:19 video๐Ÿ““ notes PDF๐Ÿ”’ free account

More lessons are added here as they go live on YouTube.

Notes are free

Create a free account to open the notes for every lesson and tick off what you have finished.

Create free account