~/talk

Maximizing Throughput and Scalability for Akka Streams

Talkat Scale By The Bay 2019 · 2019-11-13..11-15· [scala, distributed-systems]
slides:none on file

Shows that inserting async boundaries or using mapAsync parallelism turns fused single-actor stages into real parallel work, e.g. CPU-bound spin loops (~10ms) scale with cores (1→4 gives ~4x), while nonblocking calls with parallelism=1000 cut a 50–60s run to ~100ms (≈1000x). Reminds that actor mailboxes give a default 16-element buffer, that unordered mapAsync avoids head‑of‑line blocking, and that external partitioning or cluster sharding (or scaling pods/consumer groups) provides scalability and HA.

AI-written summary · about

  1. 0:00Introduction to Akka Streams
  2. 3:36Maximizing throughput for single stream
  3. 16:59Partitioning streams for throughput
  4. 24:46Partitioning streams for scalability
  5. 28:39Key takeaways and Q&A
~/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.