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 5

Actors

It's time to start concurrency programming with actors. We'll begin by exploring the most basic mechanics of actor construction and operation, so you can get a feel for things and how most of the work gets done. Then we'll explore more about what actors are and how they work, building up use cases and understanding so that you're armed with heaps of awesomeness that you can employ when solving your coding and design problems.

What follows is a single actor definition of a terrible Shakespearean actor and a poor sod who has to talk to him. The Shakespearean actor is a true Akka Actor and the poor sod is main. In these early stages, I'll show you some fairly atypical elements of actor programming, but they'll help keep things familiar. ...

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