~/talk

Functional Event Sourcing

Talkat EventSourcing 2020 · on Wednesday, 2020-02-05· [functional-programming, distributed-systems]
slides:none on file

Live-coded example builds a light-bulb aggregate in F# using a strict decide/evolve pair (pure functions) and BDD-style tests that never expose internal state. Persistence starts as a simple file-backed event store, then moves to an append-only stream (EventStore), adds optimistic concurrency with an expected-version check, retry-on-conflict and snapshotting. Entire demo fits under ~300 lines of code, runs locally and remotely, and proves the pattern works end-to-end without exotic infrastructure.

AI-written summary · about

  1. 0:00Start
  2. 6:29Evolution Function
  3. 7:09Domain Code
  4. 7:57Write Test for this Domain
  5. 30:15Get Events
  6. 54:18Snapshotting
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.