~/talk

Mistakes made adopting event sourcing (and how we recovered)

Talkat EventSourcing 2020 · on Wednesday, 2020-02-05· [distributed-systems]
name:Nat Pryce
links:none on file
slides:none on file

A new editorial system adopts event sourcing but mistakes include storing transient notifications and technical logs in the event store, used event history as an event bus, and keeping the current state inside command handlers so projections drift from the true history. Recovery swaps integration back to REST hypermedia, turns snapshots into a read‑through cache and moves state updates into separate transactions, migrates relational projections to JSON in Postgres, and leans on automated domain tests — kept business logic in hexagon/domain tests — enabling a fast refactor where a single developer’s switch took one hour.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:32Defining the problem space
  3. 4:41Architectural strategy
  4. 7:34Technology stack selection
  5. 9:32Identifying initial mistakes
  6. 13:43Refining team communication
  7. 17:21Balancing technical diversity
  8. 20:28Refactoring for correctness
  9. 24:53The road to recovery
  10. 29:35The role of testing
  11. 34:49The screenplay pattern
  12. 40:00Lessons learned
  13. 45:13Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.