~/talk

Transactional Event Sourcing Using Slick (Audit Log for Free!)

Talkat Scala Days Berlin 2016 · 2016-06-15..06-17· [databases]
slides:none on file

Shows how to implement event sourcing on a relational DB by using Slick DBIO transactional actions and a tiny slick-eventsourcing skeleton so events are written and projections updated in the same SQL transaction. Builds a demo HTTP app that lets users place a Tesla Model 3 order: commands validate against the read model, return events, an event processor runs model updates and one-time listeners (email printed to log). It compiles and runs, but notes practical limits: transaction cost, concurrency ordering, DBIO leakage and future-wrapping issues.

AI-written summary · about

  1. 0:00Introduction
  2. 0:23Conference Application
  3. 0:55What is Event Sourcing
  4. 1:33Why use Event Sourcing
  5. 3:19History with auditing
  6. 4:57Goals
  7. 5:45Other approaches
  8. 6:15Events
  9. 7:57Read Model
  10. 9:00DPI Election
  11. 9:51Descriptions
  12. 10:19Overview
  13. 12:53Coding
  14. 25:14Registry
  15. 33:16Demo
  16. 34:49Problems
  17. 38:51Questions
~/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.