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

Summary


This is the chapter where we really saw the fruit of all our previous work come together. Our main goal from the beginning had been to separate the application modules so that they were a set of loosely coupled, independent services. We had taken all the steps to facilitate this happening, but it was only with the introduction of ConductR that we were finally able to pull our service modules apart from each other and still have them work together regardless of where each one was deployed.

Throughout the content in this chapter, you learned what ConductR is, and how you can use it to deploy and manage your services across any number of nodes. You also learned how you can leverage the ConductR Scala API code to locate and then consume services throughout the ConductR managed set of nodes. With ConductR, we now have the complete Akka toolset in place to support the microservices architecture that will allow us to scale the bookstore app to meet our future needs.

The journey was a long...