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

Chapter 6. Going with the Flow with Akka Streams

The concept of data processing, that is, taking data from point A to point B with all kinds of transforms in between, is not a new concept in the world of programming. It's the basis of the age old processes of Extract, Transform, Load (ETL) and, to a lesser extent, Electronic Data Interchange (EDI). For decades now, programmers have had to produce, transform, and then consume data between two systems. So, if this isn't a new problem, why would anyone need a new paradigm to handle this age-old process? What's changed in this day and age to cause us to have to rethink data processing?

The biggest change is the volume of data that's out there and available to process now. We're living in the age of big data now, and there are massive amounts of data that people want to consume and make use of within their apps, one such example being the Twitter Firehose. These data sets are very large, way too big to try and fit into the application memory,...