~/talk

Crossing the Boundaries of Stateful Streaming and Actors Using Serverless Portals

Talkat Scala Days 2023 Madrid · 2023-09-12..09-14· [scala]
speakerdeck:jspenger
slides:none on file

Portals is a Scala 3 runtime that implements Atomic Streams and named portals to get end-to-end exactly-once semantics across multiple stateful dataflow pipelines. It enforces atomicity with a coordinator running a two‑phase commit against replicated persistent state, stores continuations durably (uses Spor3), and supports cyclic workflows so a fault-tolerant actor model and microservices like a shopping cart actually run on the runtime. Demo runs include a shopping cart + inventory + analytics pipeline (throttled to 4 events/sec) and a browser-playground via Scala.js.

AI-written summary · about

  1. 0:00Portal's framework intro
  2. 1:58Serverless framework challenges
  3. 6:58Why exactly-once processing
  4. 7:21Streaming vs actor model
  5. 13:48Streaming and actors in Portals
  6. 14:29Portals core abstractions
  7. 20:19Actor-like communication
  8. 23:11Word count example
  9. 29:58Shopping cart microservices
  10. 36:27Actor model on Portals
  11. 37:10Live demos
  12. 38:38Summary and future
~/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.