Search
Lessons (36)
- 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 …
- Choosing an Architecture
… image resizing"] K -- Rec["🏙️ Recommendation microservice<br/ (extracted: heavy ML scaling)"] Each part uses the style that …
- Architecture Patterns at Scale
… Someone says: "Let's split everything into 15 microservices!" 3. Six months later: 15 services, 15 deploy pipelines …
- 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 …
- Preparing for Technical Interview Rounds
… Practice with [System Design L6](/learn/system-design-l6), [Microservices](/learn/microservices) and [Database Design](/learn/databases). Take …
- Finding Service Boundaries with DDD
The hardest part of microservices is deciding where to cut. Learn bounded contexts, ubiquitous language, aggregates and context …
- Concurrency, Resilience & Distributed Workflows
… Sagas & the Outbox Pattern](/learn/microservices/data-sagas-and-outbox) and [CQRS & Event Sourcing](/learn/microservices/cqrs-and …
- REST vs GraphQL vs gRPC
… gRPC between internal microservices, a GraphQL or BFF (Backend for Frontend) layer for their apps, and REST for …
- API Gateway, BFF & Service Discovery
… one front door for many services](/img/microservices/api-gateway.svg) Without vs with a gateway mermaid flowchart …
- What Is Apache Kafka?
… mermaid mindmap root((Kafka use cases)) Event-driven microservices OrderPlaced → many services react Activity tracking clicks, page views …
- 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 …
- Kafka vs RabbitMQ & the Kafka Ecosystem
… Pick what<br/ your team can operate well"] ✅ Kafka shines for: event-driven microservices where many services react …
- 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 …
- Kafka for Backend Services
… More: [Sagas & the Outbox Pattern](/learn/microservices/data-sagas-and-outbox). Step 2: Consume events idempotently Kafka (and …
- 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 …
- Choosing a Programming Language
… APIs, real-time Automation, data, AI/ML, APIs Microservices, CLIs, cloud tooling Performance-critical, systems, WASM Famous users …
- 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 …
- Database Indexing & Transactions
… for that, see Sagas & the Outbox Pattern in the Microservices lessons. Key takeaways - Indexes turn O(n) scans …
- NestJS Core Concepts
… Minimal dependencies You need DI, guards, validation, OpenAPI, microservice transports out of the box Key takeaways - Nest = modules …
- Cross-Service Data: How to Join Without a Database JOIN
… orders.user id WHERE orders.id = 42; In microservices, the Order Service owns orders and the User Service …
- 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 …
- Python Web APIs: FastAPI and Django
… spectacular Best for JSON APIs, ML model serving, microservices Content sites, internal tools, large CRUD apps FastAPI First …
- Domain-Driven Design: Tactical Patterns
… the source of truth ( event sourcing , see the Microservices lessons). Factories When creating an aggregate is complex (many …
- Scaling, Load Balancing & Rate Limiting
… sick servers These are covered in depth in Microservices → Resilience Patterns . Back-of-the-envelope numbers Metric Rough …
- A WhatsApp OTP Is Only Single Use If You Make It So
… a token service, Redis, another microservice. Then one transaction is impossible. You have two separate steps, and you …
- Go Fundamentals
… Go shines Good fit Why --- --- Web APIs and microservices Fast, low memory, excellent HTTP library built in Command …