Search
Lessons (27)
- Monolith vs Microservices
What microservices really are, what they cost, and when they're worth it. Compare monoliths, modular monoliths and …
- Deploying & Operating Microservices
… The whole point of microservices is being able to deploy one service many times a day, safely, without …
- Data in Microservices: Sagas & the Outbox Pattern
… each step has a compensating action to undo it](/img/microservices/saga.svg) Rule 1: database per service …
- Architecture Patterns at Scale
Choose client-server, microservices, serverless, event-driven or peer-to-peer architecture based on ownership, failure boundaries and …
- Choosing an Architecture
… image resizing"] K -- Rec["🏙️ Recommendation microservice<br/ (extracted: heavy ML scaling)"] Each part uses the style that …
- What Is Software Architecture?
… inside an app (Layered, Clean, Hexagonal, Onion), the domain (DDD), and the whole system (microservices, event-driven, serverless …
- Vertical Slice Architecture & the Modular Monolith
… Many teams that jumped straight to microservices have moved back. A modular monolith keeps the door open: when …
- Finding Service Boundaries with DDD
The hardest part of microservices is deciding where to cut. Learn bounded contexts, ubiquitous language, aggregates and context …
- What Is Apache Kafka?
… mermaid mindmap root((Kafka use cases)) Event-driven microservices OrderPlaced → many services react Activity tracking clicks, page views …
- REST vs GraphQL vs gRPC
… gRPC between internal microservices, a GraphQL or BFF (Backend for Frontend) layer for their apps, and REST for …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… Pick what<br/ your team can operate well"] ✅ Kafka shines for: event-driven microservices where many services react …
- API Gateway, BFF & Service Discovery
… one front door for many services](/img/microservices/api-gateway.svg) Without vs with a gateway mermaid flowchart …
- Event-Driven Architecture
… public APIs; document them (AsyncAPI) (The Kafka and Microservices topics cover delivery guarantees, the outbox, sagas and CQRS …
- Resilience Patterns
… The patterns below stop that.  1. Timeouts: never wait forever …
- Domain-Driven Design: Strategic Design
… a modular monolith, and for service boundaries in microservices. One team should own each context. 4. Context mapping …
- Which Pattern Do I Need?
… systems, which you'll meet later in the Microservices and Kafka lessons: Object-level pattern System-level cousin …
- KISS: Keep It Simple, Stupid
… Add microservices, queues and caches when real problems show up, not before. How to practise KISS Ask yourself …
- Service Communication: Sync vs Async
… for an answer; asynchronous messages don't](/img/microservices/sync-vs-async.svg) Synchronous: request/response One service …
- Graphs: BFS & DFS
… The web Pages Links npm Packages "depends on" Microservices Services API calls Course plan Courses Prerequisites Types of …
- Kafka Producers
… writing to a database and Kafka together (see Microservices → Sagas & Outbox ) Key takeaways - Producers serialise, partition (by key …
- Authentication, Authorization & API Security
… Best for Traditional web apps APIs, mobile apps, microservices Common pattern: a short-lived access token (15 min …
- Observability: Logs, Metrics & Traces
… Traces, the "where" In a microservice system, one click might touch 8 services. A distributed trace follows that …
- CQRS & Event Sourcing
… a write model for commands, a read model for queries, synced by events](/img/microservices/cqrs.svg) mermaid …
- Scaling, Load Balancing & Rate Limiting
… sick servers These are covered in depth in Microservices → Resilience Patterns . Back-of-the-envelope numbers Metric Rough …
- Database Indexing & Transactions
… for that, see Sagas & the Outbox Pattern in the Microservices lessons. Key takeaways - Indexes turn O(n) scans …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… bus, an API gateway, an orchestrator in a microservice saga. --- 5. Memento 💾 Analogy: Save points in a video …
- Domain-Driven Design: Tactical Patterns
… the source of truth ( event sourcing , see the Microservices lessons). Factories When creating an aggregate is complex (many …