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


In this chapter, we learned how to perform stream based processing in a reactive manner. You now have a better understanding of the core Reactive Streams components, and how they fit together to build data processing flows. You also understand how Akka Streams builds upon the Reactive Streams initiative to allow you to build back-pressure aware data flows and graphs. Lastly, we used this new found knowledge to enhance the streams based processing used in our CQRS and Persistence Query oriented components.

Now that we have a solid understanding of Akka Streams, it's time to think about replacing our HTTP libraries (Unfiltered and Dispatch) with something that's more stream oriented and back-pressure aware. Thankfully, Akka provides that exact functionality via Akka HTTP, which is built on top of Akka Streams. This work will be the primary focus of the next chapter.