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

Refactoring homework


Just like the previous two chapters, your homework in this chapter will involve finishing the refactor for the other two modules. You'll be doing your work in the -incomplete codebase for this chapter, just as you did earlier. You will need to set up a few new queries for user management as what was previously a query, find by email, now is the ID-based lookup and thus not a query. Try supporting querying by name, where a single input will match against either the first or last name.

For the credit-processing project, there isn't even a REST endpoint there yet, as it wasn't needed up to this point. For extra credit, if you feel so inclined, add an endpoint and support a way to lookup credit transactions by the card holder's name.