Event Sourcing Loves Functional Programming
summary
A concrete, functional implementation of event sourcing: a Scala port of FsUno that models the domain with events, decision/evolution functions, and projections. Uses Event Store to persist ordered events, builds SQL and document projections, supports snapshots and simple actor restart strategies, and addresses transaction grain size, versioning and migrations; includes wiring the event bus, projection storage setup and deployment notes so the example is runnable and production-ready.
AI-written summary · about
chapters (11)
- 0:00Event sourcing intro
- 1:22Event sourcing concepts
- 5:23Functional event sourcing
- 11:25State projections
- 24:34Separation of responsibilities
- 35:52Scaling with event sourcing
- 40:47Event sourcing mistakes
- 48:59Transactions and aggregates
- 54:18Performance optimization
- 59:43Event versioning
- 1:00:32Q&A
related talks
51mThings I Wish I knew Before I Started with Event Sourcing
26mEvent-Sourcing your React-Flux applications
43mUnraveling the Threads: Event-Sourcing, CQRS, and Event-Driven Architecture
43mEvent driven development
44mReactive Applications with Event-Sourcing and Server-Sent Events
49mEvent-Sourcing your React-Redux applications
46mFunctional CQRS in Kotlin
38mEvery Event, Everywhere, All at Once
