DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Data Engineering
  3. AI/ML
  4. How Akka Works: Visualize and Demo Akka With a Raspberry Pi Cluster

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.

Oliver White user avatar by
Oliver White
·
Dec. 05, 18 · Presentation
Like (2)
Save
Tweet
Share
10.48K Views

Join the DZone community and get the full member experience.

Join For Free

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

  • Demo Source Code: monitor this GitHub repo for updates to the source code
  • White Paper: "Akka A to ZThe Architect's Guide To Designing, Building, And Running Reactive Systems"
  • O'Reilly eBook: Designing Reactive Systems: The Role Of Actors In Distributed Architecture
clustering Akka (toolkit) raspberry pi

Published at DZone with permission of Oliver White, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Promises, Thenables, and Lazy-Evaluation: What, Why, How
  • PostgreSQL: Bulk Loading Data With Node.js and Sequelize
  • Do Not Forget About Testing!
  • AIOps Being Powered by Robotic Data Automation

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: