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

What is DDD?


The term DDD was coined by Eric Evans in his book, Domain-Driven Design (Addison-Wesley, Eric Evans, 2004). It is an approach to software development where the application implementation will completely be a mirror complex and an ever evolving business domain. The core of the focus is on the domain model itself, with other more generic concerns (security, persistence, user interface) being treated as secondary to the domain model itself. The domain model is considered a potential differentiator to the business (unlike the more generic concerns); hence, the increased focused on modeling it within your applications and then representing it within your code, evolving that model as the business evolves.

DDD is all about a set of patterns to facilitate building out complex (enterprise level) applications from the domain model outward. If you have implemented any Enterprise application integration (EAI) patterns, then some of the DDD patterns may be familiar to you (albeit with different...