Introduction to Akka Actors

In the first part of this series we gave you a high-level overview of Akka – now we are going to take a deep dive into the realm of Akka actors as provided by the akka-actor module which lay the foundations for all other Akka modules.

As we believe that one can’t learn coding without reading and/or writing code, we will develop a tiny actor based library step-by-step: a publish-subscribe based event bus called PubSub. Of course Akka comes with production-ready local and distributed solutions for this domain, so this is just to get our hands dirty with a well known example. We are going to use the Scala programming language, simply because it’s so much more convenient for writing Akka based code, but Java could be used to get the same results.

… Read the whole post on the codecentric blog.

Advertisements
Introduction to Akka Actors

A Map of Akka

The amazing Akka project was started by Jonas Bonér in 2009 with the aim to bring the actor model, which has proven to deliver an availability of six nines (99.9999%) and even more, to the JVM. Akka, which is open source and available under the Apache 2 license, offers APIs for both Java and Scala. If you are interested in Akka’s history, take a look at the Akka 5 years anniversary blog post.

… Read the whole post on the codecentric blog.

A Map of Akka