~/talk

Beyond the current state: Time travel as answer to hard questions

Talkat Balkan Ruby 2018 · 2018-05-25..05-26· [distributed-systems, testing]
github:Krule
slides:none on file

Explains how splitting writes and reads with CQRS plus storing every change as immutable events with event sourcing lets a system replay history to reconstruct state, implement time travel for exact debugging, and rebuild projections in any storage (relational, in‑memory, GraphQL layers). Covers practical details: return an ID immediately, make projectors idempotent, use aggregate sequence numbers for concurrency, map commands one‑to‑one to events, and apply Saga patterns for non‑idempotent third‑party interactions; notes trade‑offs in hiring and eventual consistency.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:05Traditional three-tier architecture
  3. 2:30Limitations of current state approach
  4. 5:26CQRS and event sourcing basics
  5. 10:09Event sourcing and time travel
  6. 13:03Superpowers of event sourcing
  7. 18:33Challenges and trade-offs
  8. 22:54Conclusion and Q&A
~/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.