Please log in to watch this conference skillscast.
This talk will explore the benefits and power of this new Akka I/O layer, including a brief exploration of its benefits over the "Old" Akka IO. The presenter will introduce the ByteString & it's powerful manipulation tools for network traffic, the Pipeline system for composed protocol decoding, and much more.
Until recently, users seeking a way of doing Scalable I/O had two choices: NIO, which provides an esoteric interface requiring serious expertise and concurrency control, or Netty - which provides a rich and powerful layer above NIO. The downsides to Netty however include an extremely idiomatic Java API, and a series of separated threads and thread pools left out of the control of the user.
There is, however, hope for the Scala user who abhors free range threading and wants a more Scala-sane interface to a network. Working with the Spray has recently introduced a new, lightweight Non-blockimg network I/O interface built around Akka's core Actors.
Further insights will include a demonstration of Akka I/O's built in system for Backpressure — allowing true handling & awareness of an overloaded network buffer, and compositing of Futures on top of the Actor API to emulate a more functional interface.
YOU MAY ALSO LIKE:
- Lightbend Lagom: Microservices Done ‘Just Right' (SkillsCast recorded in November 2016)
- Java Design Patterns: The Timeless Way of Coding with Dr Heinz Kabutz (Online Course on 12th - 15th October 2020)
- Building a Cloud Ready Application with Quarkus (SkillsCast recorded in August 2020)
- Test Automation Beyond Java 8 (SkillsCast recorded in July 2020)
Network I/O for a More Civilized Age: The New Akka I/O
Brendan is a Senior Consultant & Trainer at BoldRadius, where he works directly with clients to help them find success through consulting and training on the Typesafe Reactive Platform.