~/talk

Patterns for Streaming Telemetry with Akka Streams

slides:none on file

Shows a working pattern for ingesting unbounded IoT telemetry with Akka Streams: replace a fragile, stateful actor with a stream that batches with groupedWithin(1000, 1.second), limits concurrent writes with mapAsync(parallelism = 10), preserves per-device order, and applies backpressure so upstream connections stop overwhelming the DB. Demonstrates disaggregation with mapConcat, conditional routing for invalid messages, throttling and idle timeouts, and notes mapAsyncUnordered when order can be sacrificed for throughput.

AI-written summary · about

  1. 0:00Intro
  2. 1:25Aakka
  3. 2:07PARTI A MOTIVATING EXAMPLE
  4. 9:50ERROR HANDLING
  5. 10:56REACTIVE STREAMS
  6. 12:44AKKA STREAMS API
  7. 13:59PATTERNS FOR STREAMING TELEMETRY
  8. 14:25GROUPING
  9. 15:56DISAGGREGATION
  10. 17:48FILTERING
  11. 21:38RATE LIMITING REQUESTS
  12. 25:28CONCURRENCY
  13. 28:37IDLE TIMEOUTS
  14. 30:17PERIODIC EVENTS
  15. 30:57WATCHING TERMINATION
  16. 32:24PROOF OF CONCEPT
  17. 35:41WHAT ABOUT ACTORS?
  18. 37:26QUESTIONS?
~/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.