Skip to main content

6 docs tagged with "cqrs"

View all tags

CQRS & Event Sourcing

Comprehensive guide on Command Query Responsibility Segregation (CQRS) and Event Sourcing, detailing architecture, implementation patterns, comparisons with alternatives, and deep dives for senior engineers.

Data-Driven vs Event-Driven Architecture: Deep Dive & Decision Framework

Comprehensive senior-principal architectural comparison of Data-Driven Architecture (DDA) and Event-Driven Architecture (EDA). Explores state vs stream paradigms, ACID vs eventual consistency, temporal coupling, polling tax, dual-write prevention with Transactional Outbox and CDC, and a battle-tested decision framework for production systems.

Database per Service

Technical guide to the Database-per-Service pattern, comparing data access options like API Composition, CQRS, and transaction management.

Scaling Reads

Strategies for handling high read QPS including caching layers, read replicas, CDN, CQRS, and database indexing. Covers Redis patterns, cache invalidation, consistency models, fan-out strategies, and senior-level deep dives into coherence, hot keys, and tail latency.