Tagged “Event-Sourcing”
3 articles with this tag.
- CQRS and event sourcingSeparating the write model from read models (CQRS), storing state as an append-only stream of domain events (event sourcing), how they combine, projections and rebuilding views, snapshots, optimistic concurrency on event streams, schema evolution of events, eventual consistency in the UI, and when not to use either.
- Stock ExchangeAn exchange designed for microsecond latency with the 18-step framework: the critical path from gateway to matching engine, order books with price-time priority, a sequencer and event journal for determinism, single-threaded in-memory matching (the LMAX architecture and Disruptor), market data distribution, hot-warm failover and why ordinary web architecture does not apply.
- Stream processingProcessing unbounded event streams: message brokers versus log-based brokers like Kafka, partitions and consumer offsets, keeping systems in sync with change data capture, event sourcing and immutable state, stream analytics, event time versus processing time, window types, stream joins, and exactly-once through idempotence and atomic commit.