Blog Archives

01: Simple Akka tutorial in Java step by step

Why use Akka? Akka handles all of the underlying threading complexities by allowing you to just focus on dividing your tasks into actors, defining messages to pass among actors, and wiring together their communication logic.

The real power of Akka is realized when you distribute actors across multiple machines. You could spin off hundreds of Akka servers to run your actors, and the Akka toolkit seamlessly handles the distribution and communication of the messages among the actors.…



02: Simple Akka tutorial in Java with 2 Actors

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step to use multiple actors. Let’s have two different actors to handle odd and even numbers respectively….



03: Akka tutorial “ask” request – response pattern in Java

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step to apply the Ask pattern. Tell is a “Fire-and-Forget” pattern, and whereas an “ask” sends a…



04: Akka tutorial “tell-tell” request – response pattern in Java

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step and Akka tutorial “ask” request – response pattern in Java. Step 1: The “Producer.java” is an…



05: Akka tutorial in Java – calculating the factorials concurrently

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step. This is a non trivial example of calculating the factorial for a range of numbers in…



06: Simple Akka remoting tutorial in Java – producer & consumer

This tutorial extends the previous tutorial Simple Akka tutorial in Java step by step. This tutorial is all about remote actors. In other words, inter process communication. The “ProducerMain.java” and…



800+ Java & Big Data Interview Q&As

200+ Java & Big Data Tutorials

Top