~/talk

Functional and Reactive Event Sourced Applications

Talkat Codemotion Amsterdam 2016 · 2016-05-11..05-12· [distributed-systems, scala]
slides:none on file

Argues that Event Sourcing is the real win and CQRS is optional, demonstrates a Scala app built with Fun.CQRS on top of Akka Persistence (Cassandra/Postgres plugins available) that models commands/events, persists them to a journal, replays history and builds projections into an in‑memory read view. Shows a working lottery aggregate that rejects invalid commands (cannot run twice), uses snapshotting (configurable; example 100 events) to avoid replaying long histories (notes typical aggregates have ~10–20 events, pathological cases reach 300k). Emphasizes single ordered event store as single source of truth.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:34Understanding CQRS
  3. 5:54Akka and event sourcing
  4. 12:48Implementing the right model
  5. 22:41Demonstration of the system
  6. 27:40Query side and projections
  7. 32:49Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.