Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Mastering Akka
  • Toc
  • feedback
Mastering Akka

Mastering Akka

By : Baxter
3.7 (6)
close
Mastering Akka

Mastering Akka

3.7 (6)
By: 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 (11 chapters)
close

Building and deploying the bookstore bundles


At this point, we have all the necessary code changes in place to run the bookstore services within ConductR. Now, all we have to do is build and deploy the bundles using sbt and the ConductR CLI via sbt-conductr. The process will be the same for each module, so I will only describe it once—for inventory-management—and then you can repeat it across the other three modules. Before doing this however, we want to get the containers for Cassandra and Elasticsearch up and running. To do that, open up a terminal window to the root of the bookstore-app-complete folder from the chapter9 code distribution and run the following command:

./launchDataStores.sh

Once you have those two containers up and running, you need to start up the ConductR sandbox so that we can deploy our bundles into it. As a reminder, the command to start up the sandbox is as follows:

sandbox run <sandbox_version> --nr-of-containers 3

Just be sure to replace <sandbox_version...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete