Over a million developers have joined DZone.

Refcard Expansion Pack: Reactive Programming with Akka

· IoT Zone

Access the survey results 'State of Industrial Internet Application Development' to learn about latest challenges, trends and opportunities with Industrial IoT, brought to you in partnership with GE Digital.

This week, DZone released its latest Refcard: Reactive Programming with Akka. For those of you interested in learning more about Akka or sharpening your skills, we decided to dig into the DZone archives and find some of the most popular posts we've had on the topic over the past two years:

1. Akka vs. Storm

  • I was recently working a bit with Twitter’s Storm, and it got me wondering, how does it compare to another high-performance, concurrent-data-processing framework, Akka.

2. Non-Blocking I/O - Discovering Akka

  • Here comes the time to follow some good practices when implementing actors. One of the most important rules we should follow is avoiding any blocking input/output operations, polling, busy waiting, sleeping, etc. Simply put, an actor handling a message should only depend on CPU and if it doesn't need CPU cycles it should immediately return from receive and let other actors to process. If we follow this rule strictly, Akka can easily handle hundreds of thousands of messages per second using just a handful of threads.

3. Introducing Akka – Simpler Scalability, Fault-Tolerance, Concurrency & Remoting Through Actors

  • Writing correct concurrent, fault-tolerant and scalable applications is too hard. Most of the time it’s because we are using the wrong tools and the wrong level of abstraction.

    Akka is an attempt to change that.

4. Connect to RabbitMQ Using Scala, Play and Akka

  • In this article we'll look at how you can connect from Scala to RabbitMQ so you can support the AMQP protocol from your applications. In this example I'll use the Play Framework 2.0 as container (for more info on this see my other article on this subject) to run the application in, since Play makes developing with Scala a lot easier. This article will also use Akka actors to send and receive the messages from RabbitMQ.

5. Reactive Programming with Akka and Scala

  • During our lab, we wanted to implement an application with Akka and Scala, because we’re going to evaluate highly performing and scalable software architectures on the JVM. In this blog we’re describing how to set up an Akka app and show a few simple demo applications.

And don't forget to download the Akka Refcard itself:

Reactive Programming with Akka

By Ryan Knight

Akka is a framework for Java and Scala that implements the Actor model of computation. The Actor model is ideal for concurrency and fault-tolerance, especially on heterogeneous and flexibly governed systems. This Refcard covers:

  • Defining and creating actors and messages
  • Actor hierarchies
  • fault-tolerance and self-healing
  • And much more!


The IoT Zone is brought to you in partnership with GE Digital.  Discover how IoT developers are using Predix to disrupt traditional industrial development models.


The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}