~/talk

What we learned about event sourcing and DDD while building a bank

Talkat DDD Europe 2024 · 2024-05-27..05-31· [software-architecture]
links:none on file
slides:none on file

Lunar builds its banking core in Go on Postgres and runs ~300 services in Kubernetes, serving more than 600k customers. Event sourcing is the persistence model; long account streams grow to ~0.5M events, causing slow loads until snapshot every 100 events cuts tail latencies dramatically. The account stream accumulates 78 event types from model mistakes, so on‑the‑fly event versioning is required. Outbox-based subscriptions move from row‑locks to partitioned reconciler with consistent hashing; transfers move out to a separate stream and use sagas for orchestration.

AI-written summary · about

  1. 0:00Introduction and background
  2. 7:05Challenge of long event streams
  3. 17:27Snapshotting and unbounded state
  4. 24:18Getting the model right with DDD
  5. 33:24Splitting bounded contexts
  6. 38:23Building resilient apps with event sourcing
  7. 47:08Overall learnings and conclusion
  8. 52:11Q&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.