Tagged “Patterns”
3 articles with this tag.
- CQRS & event sourcingSeparating writes from reads with CQRS, storing state as events with event sourcing, aggregates and projections, snapshots, upcasting and GDPR, read-model consistency, when to use each pattern, and the tools.
- Saga patternManaging business transactions across services with sagas: local transactions and compensations, choreography vs orchestration, saga state machines, pivot and retriable steps, isolation countermeasures (semantic locks, commutative updates), durable execution with Temporal, and testing and observability.
- Outbox, CDC & idempotencyThe three patterns that make event-driven systems reliable: the transactional outbox (polling vs log-based CDC with Debezium), the inbox and idempotent consumers, idempotency keys for APIs, deduplication strategies, and ordering.