Search
Lessons (11)
- Service Communication: Sync vs Async
Should services call each other directly or talk through events? Compare request/response with messaging, orchestration with choreography …
- Why Kubernetes?
… A 100-person orchestra needs a conductor : someone who makes sure every instrument starts on time, replaces a …
- Data in Microservices: Sagas & the Outbox Pattern
… local transactions plus compensating actions, run by choreography (events) or orchestration (a coordinator). - Never dual-write. Use the …
- Domain-Driven Design: Tactical Patterns
… via an outbox } } Domain service Application service --- --- --- Contains business rules? ✅ Yes ❌ No, only orchestration Knows about transactions, repositories …
- Event-Driven Architecture
… error handling is spread out. Mediator topology (orchestration) A mediator (orchestrator) receives the initial event and directs the …
- Which Pattern Do I Need?
… layer Command Message queues, CQRS commands Mediator Saga orchestrator Chain of Responsibility Middleware pipelines, API gateway filters Memento …
- Monolith vs Microservices
… CI/CD, monitoring, tracing, orchestration The hidden costs ("the distributed systems tax") The 8 fallacies of distributed computing …
- Docker & Containers
… scaling and zero-downtime deploys, you need an orchestrator , and that's Kubernetes (see the Kubernetes lessons). Key …
- Onion Architecture & Clean vs Hexagonal vs Onion
… interfaces PricingService , IOrderRepository 🔵 Application services Use cases / workflows orchestrating the domain CheckoutService.placeOrder() 🟣 Outer ring: infrastructure, UI …
- Choosing an Architecture
… order is placed" Event chains without visibility; add orchestration, tracing, an event catalog Teams constantly blocked by each …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… components, an event bus, an API gateway, an orchestrator in a microservice saga. --- 5. Memento 💾 Analogy: Save points …