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

Installing and setting up ConductR locally


If you want to use ConductR in your production environment, you will need to have a paid Lightbend subscription to do so. So, the scope of what we will do with ConductR in this chapter will be limited to how to install, set up, and use it locally for development purposes. There will be a few differences in how we use it locally versus how we will deploy it in production. The idea here is to give you a taste of what it can do, and if you have further interest in using it in production, you can pursue that path on your own.

The local development flavor of ConductR is referred to as the ConductR sandbox. It's a Docker image that allows you to simulate having a multiserver deployment, all on the comfy confines of your local computer. There are three main things that you will need to have installed locally in order to use the ConductR sandbox, which are as follows:

  • Docker

  • sbt

  • conductr-cli

We already have Docker and sbt, so we really only need to install conductr...