Search
Lessons (11)
- CQRS & Event Sourcing
… you can use CQRS without event sourcing (very common), and event sourcing almost always needs CQRS for queries …
- Event-Driven Architecture
… notification, event-carried state transfer, event sourcing, or CQRS. - Design events as versioned public contracts with IDs and …
- Concurrency, Resilience & Distributed Workflows
… Sagas & the Outbox Pattern](/learn/microservices/data-sagas-and-outbox) and [CQRS & Event Sourcing](/learn/microservices/cqrs-and …
- Vertical Slice Architecture & the Modular Monolith
… update price"] direction TB c1[endpoint] -- c2[handler] -- c3[(db)] end This fits naturally with CQRS : queries read …
- Data in Microservices: Sagas & the Outbox Pattern
… API composition, replicated data, or CQRS read models.
- Which Pattern Do I Need?
… sidecar Adapter Anti-corruption layer Command Message queues, CQRS commands Mediator Saga orchestrator Chain of Responsibility Middleware pipelines …
- Behavioral Patterns I: Observer, Strategy, Command, State
… TODO" } is a command object), job queues (BullMQ), CQRS commands. --- 4. State 🚦 Analogy: A traffic light behaves differently …
- Kafka for Backend Services
… and-outbox) CQRS read models Consume events to build query-optimized views (search index, dashboards) [CQRS & Event Sourcing …
- Choosing an Architecture
… by feature, top to bottom Feature-heavy apps, CQRS, fast iteration Duplication without a shared domain System shape …
- Cross-Service Data: How to Join Without a Database JOIN
… data Fast dashboard or feed Dedicated read model / CQRS Projection lag and rebuild complexity Historical reporting Warehouse or …
- Clean Architecture in Depth
… layers Slow development Keep simple reads simple (see CQRS and vertical slices) When to use it ✅ Rich business …