Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How Akka Works: Visualize and Demo Akka With a Raspberry Pi Cluster

DZone's Guide to

How Akka Works: Visualize and Demo Akka With a Raspberry Pi Cluster

Akka Cluster brings the power, efficiency, resilience, and scalability of Akka actors to massively distributed systems.

· Java Zone ·
Free Resource

How do you break a Monolith into Microservices at Scale? This ebook shows strategies and techniques for building scalable and resilient microservices.

Understand Akka Clustering With LEDs and a 5-Node Mini Cluster

Akka Cluster brings the power, efficiency, resilience, and scalability of Akka actors to massively distributed systems. Developers and architects that understand how to use Akka Cluster effectively in the cloud, on-premise, and even across multiple data centers have found that it is well worth the effort to learn it — just ask anyone that "gets it."

One challenge for Akka champions who want to demo the value to others, however, is that all this magic is happening behind the scenes. It's not easy to immediately visualize how Akka establishes clusters, self-heals nodes, handling network partitions automatically, and so on. Well, now you can.

In this webinar by Lightbend's Eric Loots, Scala and Tooling Practice Lead, and Kikia Carter, Principal Enterprise Architect, we use a simple yet powerful visualization of a 5-node, Raspberry Pi-based cluster to reveal the inner workings of Akka Cluster. In a matter of minutes, you will gain a strong understanding of clustering, even if you don't know anything about Akka. Specifically, Kiki and Eric walk you through visualizations that review:

  • Important core Akka Clustering concepts, like cluster node state (Down, Up, Weakly-up, Joining), leader election and leadership role, as well as heartbeating, gossip protocol, and failure detection.
  • What happens when we add the chaos of a network partition into the mix-leading to a so-called "Split Brain" scenario-and how can Akka HTTP management help.
  • How Akka Split Brain Resolver can automatically recover from a network partition and thus avoid a service being unavailable for a long time.

Watch the Full Presentation and Demo


Other Resources You May Enjoy

How do you break a Monolith into Microservices at Scale? This ebook shows strategies and techniques for building scalable and resilient microservices.

Topics:
akka ,akka http ,akka cluster ,java

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}