Please log in to watch this conference skillscast.
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)
- Getting API Design Right: Learning from Anti-Patterns — Full‑Day Workshop [SAG Digital 2021] (Online Course on 11th October 2021)
- Akka Streams for Scala | ScalaCon Workshop (Online Course on 25th - 27th October 2021)
- ScalaCon 2021: November Edition (Online Conference on 2nd - 5th November 2021)
- Why An API Story? (SkillsCast recorded in June 2021)
- Journey to the Centre of the JVM (SkillsCast recorded in May 2021)
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.