~/talk

Event Sourcing made Simple

Talkat RailsConf 2019 · 2019-05-01..05-03· [microservices]
slides:none on file

Shows a concrete claim: Event Sourcing runs on a Rails monolith with ActiveRecord and SQL using a 150 lines of code framework. It records events with metadata, uses pessimistic locking, sorts by created_at and id, and has reactors (sync or async) for side effects. Kickstarter’s Drip runs 15 aggregates, 135 event types, 60 reactors, about 100,000 aggregates and 500,000 events. Replays restore lost records, backfill new columns, and forward events to Redshift/StatsD/Grafana for reporting.

AI-written summary · about

  1. 0:00Start
  2. 1:05record the completion date
  3. 1:39create a race migration
  4. 2:32add some event tracking
  5. 3:21create an activity item
  6. 15:39setting the completed attribute
  7. 17:58associate a reactor with an event
  8. 19:07create an activity entry in the database
  9. 31:35document your events
~/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.