~/talk

Building scalable, back pressured services with Akka

Talkat JPoint 2018 · 2018-04-06..04-07· [scala, microservices]
slides:none on file

Explains how asynchronous execution plus flow control prevents overload and shows it working end-to-end: an Akka HTTP server backed by Akka Streams and a Cassandra source, load-tested with Gatling while inspected in Wireshark. Demo sends 400 RPS from a small JVM with eight threads and sustains ~23,000 successful requests by avoiding thread-per-request; when the client stops reading TCP windows fill and demand propagation halts Cassandra reads, then resumes on demand — proving backpressure works in practice.

AI-written summary · about

  1. 0:00Start
  2. 7:17use an asynchronous execution model
  3. 36:35create reusable components with accra streams
  4. 38:33add your own asynchronous boundaries
  5. 50:58run the load test tool
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.