O'Reilly logo

Akka Concurrency by Derek Wyatt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13

Networking with IO

Whenever you need some non-blocking asynchronous network IO, Akka has your back. The IO package, which is already included in the actor module (so you don't need to go mucking about with sbt to set it up), provides two main mechanisms for achieving the kind of networking that will make your app stay reactive: actor integration and iteratees. We will briefly look at iteratees once we've gone through the actor integration, but it won't be an exhaustive investigation.

While we could build something cool for our plane, such as landing gear or a really cool entertainment system, we have much more important things to worry about. How cool would it be if you could Telnet into your plane and ask it some questions? Yeah, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required