Part 5 of 11

Architecture Patterns

Microservices, event-driven, CQRS, multi-region.

Modules
11
Hours
4
Difficulty
Intermediate
  1. 5.0intermediate

    Monolith vs Microservices: Team Topology, Conway's Law, and the Distributed System Tax

    When a modular monolith beats microservices, how Conway's Law shapes architecture, and what the distributed system tax actually costs you.

    25 min
  2. 5.1intermediate

    Event-Driven Architecture: Notifications, State Transfer, and Choreography

    The three flavors of events, how Kafka and event buses enable loose coupling, and when choreography beats orchestration.

    25 min KafkaFlinkDebezium+1
  3. 5.2intermediate

    CQRS: Separating Reads from Writes Without Losing Your Mind

    Command Query Responsibility Segregation in practice: when to split read and write models, how to handle eventual consistency, and when CQRS is overkill.

    20 min KafkaPostgreSQLElasticsearch+6
  4. 5.3advanced

    Event Sourcing: Events as the Source of Truth

    Storing state as an append-only log of events, with replay, projections, snapshots, and the ops reality of running event-sourced systems.

    25 min PostgreSQLKafkaDynamoDB+1
  5. 5.4intermediate

    Serverless: Functions, Cold Starts, and When FaaS Actually Saves Money

    AWS Lambda, Google Cloud Functions, and Azure Functions in practice: cold starts, concurrency models, and the honest economics of serverless.

    20 min DynamoDBS3Cloudflare+1
  6. 5.5intermediate

    Backend for Frontend: Per-Client API Aggregation Done Right

    When one API cannot serve web, mobile, and partner clients well, the BFF pattern gives each client its own aggregation layer.

    25 min GraphQL
  7. 5.6intermediate

    Strangler Fig: Incremental Migration Without a Big Bang

    Martin Fowler's strangler fig pattern for replacing legacy systems incrementally, with routing, facades, and how teams actually execute multi-year migrations.

    30 min KafkaNginxEnvoy+2
  8. 5.7intermediate

    Hexagonal and Clean Architecture: Keeping Business Logic Independent

    Ports and adapters, clean architecture, and onion architecture: how to keep domain logic testable and framework-independent.

    20 min
  9. 5.8advanced

    Multi-Region Architecture: Active-Passive, Active-Active, and CRDTs

    Designing systems that survive regional failure: DNS failover, active-passive replication, active-active with CRDTs, and Cloudflare's model.

    25 min CassandraDynamoDBSpanner+3
  10. 5.9intermediate

    Multi-Tenancy: Silo, Pool, and the SaaS Isolation Spectrum

    Designing SaaS platforms that host many tenants on shared infrastructure: isolation levels, noisy-neighbor defenses, per-tenant metering, and when to graduate a whale.

    25 min PostgreSQLMySQLRedis+1
  11. 5.10advanced

    CRDT Applications (Yjs, Automerge, Local-First Software)

    Design local-first collaborative software with CRDTs: Yjs, Automerge, peer-to-peer sync, and the architectural shift away from authoritative central servers.

    25 min