~/talk

An Abridged Guide to Event Sourcing

Talkat Build Stuff 2017 · 2017-11-15..11-19· [distributed-systems]
slides:none on file

Argues that event sourcing plus CQRS replaces CRUD for better auditing and tunable consistency, demonstrates a production-ish system for Wix Adi implemented in Java and Dropwizard using a MySQL event table (site_id, version, wall_time, payload), appends immutable events, and materializes reads with snapshots. Shows snapshotting (start with snapshot every ~10 events) to avoid replaying thousands of updates, uses optimistic locking or reject-on-stale for conflicts, and reports the approach works in production after switching snapshot strategy and fixing a bad truncation.

AI-written summary · about

  1. 0:00Intro
  2. 1:55Background
  3. 4:05Requirements
  4. 7:29Mutation Anxiety
  5. 11:58Not To Scale
  6. 13:55What's Holding Us Back?
  7. 19:52Event Sourcing
  8. 22:15CQRS
  9. 24:22Better how?
  10. 30:58Storing Events
  11. 35:45A Service is Born
  12. 39:06Architecture 101
  13. 41:35Conflicting Updates
  14. 45:03Performance
  15. 50:17Architecture Redux
  16. 52:45Eventual Consistency
  17. 53:14Forethought
  18. 54:14Further Reading
~/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.