~/talk

Managing Consistency, State and Identity in Distributed Microservices

Talkat Scala Days Copenhagen 2017 · 2017-05-30..06-02· [microservices]
slides:none on file

Argues that services must own their hot state and use event sourcing and an append-only event log to make identity composable, auditable and replayable rather than rely on distributed transactions. Recommends local in-memory state, snapshotting, and Akka Distributed Data or polyglot backends (Cassandra, etc.) for replication, using idempotency, causal/eventual consistency and promise-based designs to avoid cross-service obligations. Demonstrates a shopping-cart example where CRUD loses history but the event log preserves every delete so analytics, audits and self-healing reconstruction work.

AI-written summary · about

  1. 0:00Start
  2. 3:37"Traditional Application Architectures and Platforms are Obsolete" -- Gartner
  3. 6:21Supports multiple autonomous teams organized to scale the development where the teams can develop, deploy and manage their services independently
  4. 7:13A system of autonomous collaborative distributed services
  5. 7:36Autonomy From Greek Auto-nomos: auto meaning self nomos meaning law
  6. 15:08Consistent State. What about it? Sounds like a problem
  7. 16:48One Definition Stateful means the computer or program keeps track of the state of interaction, usually by setting values in a storage field designated for that purpose.
  8. 23:52There is no such thing as a "stateless" architecture. It's just someone else's problem of an absolute now
  9. 25:03Think in terms of Consistent Boundaries
  10. 25:45Bounded Contexts
  11. 28:18Composable Identity. The meaning of life?
  12. 29:06Polyglot Persistence
  13. 29:44"The truth is the log. The database is a cache of a subset of the log." --Pat Helland
~/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.