~/talk

FROM ACTIVERECORD TO EVENTS

Talkat wroc_love.rb 2014 · 2014-04-17..04-20· [databases]
links:none on file
slides:none on file

Argues that ActiveRecord loses the history of changes and replaces it with CQRS and event sourcing where writes go to a command handler and an append‑only MongoDB event store while a denormalized SQLite read DB serves views. Implements a Rails prototype (no ActiveRecord) using Redis/RabbitMQ bus and whisper for in‑process pub/sub, a basket aggregate, weekly snapshots to avoid long replays, and a year of production use with millions of events; system is eventually consistent but works and simplified testing and scaling.

AI-written summary · about

  1. 0:00Domain model challenges
  2. 3:24Beyond CRUD applications
  3. 9:13CQRS architectural pattern
  4. 11:19Event sourcing explained
  5. 15:25Implementation and benefits
  6. 20:28Addressing architectural costs
  7. 24:07Ruby implementation tour
  8. 32:21Conclusions and takeaways
  9. 34:09Q&A session
~/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.