~/talk

Event Sourcing with Elixir

links:none on file
slides:none on file

Explains how to record every state change as events, store them in Postgres using Commanded eventstore, and recover or replay state to audit, debug, run time travel simulations, or rebuild after corruption. Shows a demo repo and an extended example with five services, gives concrete code patterns for an event publisher and a per-consumer GenServer event consumer, recommends storing payloads as jsonb, describes causation/correlation ids, versioning, snapshots and using RabbitMQ or Kafka as an agnostic bus.

AI-written summary · about

  1. 0:00Intro
  2. 0:26Why use event sourcing
  3. 4:17What is event sourcing
  4. 5:21Example
  5. 8:49Streams
  6. 12:46GitHub
  7. 13:46Event Store
  8. 16:05Event Publisher
  9. 19:01How to recreate the functionality
  10. 22:30Event Consumer
  11. 26:21Event Store Architecture
  12. 30:13Questions
  13. 32:42Best Practices
~/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.