Current state vs. (eve)nt sourcing
summary
A lightweight Clojure framework called Eve extracts event sourcing and CQRS helpers from a production codebase and provides functions to: append immutable event maps with an explicit _position logical clock, rebuild state with reduce and snapshots, and have command handlers return sequences of events that update write models; the event store is designed as an append-only durable key–value store; library exists but ships without documentation yet and is slated for release soon.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:33Motivation for event sourcing
- 4:24Event sourcing example
- 9:55Advantages over current state
- 15:17Three-layer vs CQS
- 18:30CQS architecture
- 24:06Domain-driven design and aggregates
- 28:24Repository and state
- 34:12Introducing E library
- 35:43Q&A
related talks
52mEvent-driven vs event sourcing: what's really the difference?
39mEvent Sourcing with Elixir
49mDemystifying ‘Event’ Related Software Concepts and Methodologies
01h 25mBuilding microservices with event sourcing and CQRS
43mEvent Sourcing dealing with an eventful past
01h 07mAn Architecture with CQRS and Event Sourcing
52mEvent Sourced Transformation in Financial Systems
48mEvent Sourcing - what could possibly go wrong?
