Book Image

Mastering Akka

By : Christian Baxter
Book Image

Mastering Akka

By: Christian Baxter

Overview of this book

For a programmer, writing multi-threaded applications is critical as it is important to break large tasks into smaller ones and run them simultaneously. Akka is a distributed computing toolkit that uses the abstraction of the Actor model, enabling developers to build correct, concurrent, and distributed applications using Java and Scala with ease. The book begins with a quick introduction that simplifies concurrent programming with actors. We then proceed to master all aspects of domain-driven design. We’ll teach you how to scale out with Akka Remoting/Clustering. Finally, we introduce Conductr as a means to deploy to and manage microservices across a cluster.
Table of Contents (17 chapters)
Mastering Akka
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface

Chapter 9. Managing Deployments with ConductR

As you start to scale out your applications using technologies such as clustering to gain horizontal scalability, you will solve one problem but you will end up creating another. You solve the problem of scalability and high availability by having multiple instances of services and applications running throughout your server nodes. But, in doing so, you create the new problem of having to deploy, manage, and monitor these applications and services across your multiple nodes. You will also need your loosely coupled HTTP-based services to be able to find each other, no matter where they are deployed across your cluster.

Lightbend's ConductR is a tool geared at solving these new problems that crop up when you are deploying your application components into an elastic cluster. It supports facilities to bundle, deploy, manage, and monitor your application services across a multinode and elastic cluster. It also has a simple API that allows services...