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


Hopefully, this chapter has served as a nice refresher for you on Akka actors. At this point, you should understand what Akka actors can do and how you can use them to write safe concurrent code. You should now have a good understanding of the FSM trait, and how you can employ it to build complex workflow-like processes with your actors. Lastly, you explored the different levels of automated testing, and how you can use things such as TestProbe and TestActorRef to test your actors.

Now that we have gotten this refresher out of the way, it is time to start thinking about bigger refactors to the bookstore app. In the next chapter, we will be talking about DDD and how you can use that approach to model your code in a way that more closely relates to the business domain(s) you're working in. So gear up and get ready to change the way you think about modeling software.