~/talk

Building event-driven microservices with Scala and Functional Domain Models

slides:none on file

Argues that persisting immutable domain events instead of state solves cross-database consistency in microservices by making save-and-publish a single atomic action; demos use Scala functional aggregates, an event store, snapshotting, and a small DSL that hides boilerplate. Shows concrete integrations: MySQL for primary writes, ElasticSearch/CloudSearch for search, MongoDB and DynamoDB for materialized views, and event handlers that reconstruct aggregates for money transfers and account debits. Reports the approach gives an audit log, temporal queries, and works well while requiring CQRS and handling replication lag.

AI-written summary · about

  1. 0:00Introduction
  2. 0:44About me
  3. 2:16Agenda
  4. 4:32Problems with monolithic applications
  5. 5:42Large monolithic applications
  6. 7:25Relational databases
  7. 9:59Distributed data management
  8. 12:55Events
  9. 15:04Event sourcing
  10. 16:59Event processing
  11. 19:22Functional code
  12. 22:43Benefits of event sourcing
  13. 25:38Challenges with event sourcing
  14. 27:30Strategic vs Tactical Domain
  15. 28:12Bounded Contexts
  16. 29:55Migration
  17. 32:39Individual Services
  18. 35:24CQRS
  19. 37:54Micra services
~/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.