~/talk

Network I/O for a More Civilized Age: The New Akka I/O

Talkat Pacific Northwest Scala 2013 · on Sunday, 2013-10-27· [nodejs]
links:none on file
slides:none on file

Compares Netty/NIO pain with a concrete alternative: Akka I/O uses immutable ByteString for wire data, a pipeline stage model that composes decoding SSL and staging, and a built-in back pressure handler wired to actor stash. Demonstrates a TCP time client/server, shows how commands/events and pipeline handlers translate to domain messages, and suggests futures/promises or reactive streams for client APIs. Claims 90% of async web users still run blocking DB drivers and shows how Akka I/O avoids that by keeping threads small and selectors central so the demo actually runs end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:52The New Akka IO
  3. 3:18Why Akka IO
  4. 4:00Nonblocking IO
  5. 6:07NIO
  6. 7:10Apache Nina
  7. 8:11bytebuffer
  8. 9:56bytestring
  9. 11:26time protocol
  10. 13:17byte string
  11. 14:03IO actors
  12. 14:59IO facade
  13. 15:17TCP manager
  14. 15:28Akka behavior
  15. 16:00Akka receive loop
  16. 16:45Akka connected behavior
  17. 18:01Complex is better
  18. 19:17Setting up a pipeline
  19. 19:52Creating a pipeline handler
  20. 20:27Registering the pipeline
  21. 22:49Adding SSL support
  22. 23:42Network Back Pressure
  23. 24:45Stash
  24. 25:40Back Pressure
  25. 26:35Concluding Thoughts
  26. 28:30Reactive Streams
  27. 32:39Disk IO
~/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.