~/talk

Functional CQRS in Kotlin

Talkat KotlinConf 2018 · 2018-10-03..10-05· [frontend-architecture, kotlin]
slides:none on file

Live-coding shows a Kotlin implementation of CQRS + event sourcing that uses Kotlin coroutines actors and channels, immutable algebraic data types and fold-based state reconstruction. A pizza-order demo on GitHub implements commands → events → event store (timestamped rows) → read-model projections; tests drive adding a new dispatch event and projection, and they pass after wiring executor and query handlers. Claims: functional purity reduces typical event-store bugs but introduces eventual consistency delays (microseconds to seconds).

AI-written summary · about

  1. 0:00Intro
  2. 0:24Functional CQRS
  3. 5:30Event Source
  4. 6:34Separation of Query Model
  5. 8:38Split to Microservices
  6. 10:30Domain Driven Design
  7. 11:32Functional Programming
  8. 12:53Protagonists
  9. 14:23What is a Fold?
  10. 16:51Values and Entities
  11. 17:44Transactional Aggregates
  12. 21:03Event Store
  13. 24:33Events Tree
  14. 29:33Commands emit Events
  15. 30:32Logic is called by Commands
  16. 32:03Tests can process C&Q
~/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.