Skip to Content
Applied Akka Patterns
book

Applied Akka Patterns

by Michael Nash, Wade Waldron
December 2016
Intermediate to advanced
198 pages
5h 45m
English
O'Reilly Media, Inc.
Content preview from Applied Akka Patterns

Afterword

We started this book with the assertion that the ideas of concurrency and distribution are fundamental to modern software development. The classical model of computation builds an illusion for us that is not much like the real world, or particularly valuable in a distributed and concurrent environment.

As we have seen, though, the Actor Model builds on a different paradigm, one that fits the reality of the world much better and is especially well suited to reasoning about and building systems whose components are location- and behavior-independent of each other.

Actors are a very powerful abstraction, but they are quite unlike normal imperative or even functional approaches to application development. Applied correctly, they provide a means to easily scale your application, both in terms of its ability to handle load and its ability to handle complex, multistage computations. Applied incorrectly, they can make your application complex and hard to reason about—and therefore hard to maintain.

The difference is in the design patterns.

There are many similarities between good actor patterns and good reactive microservice architectures. Reactive microservice architectures are applied “in the large” as a high-level abstraction to build systems; actor patterns are applied “in the small,” within (and between) individual services.

However, if done well, both share the attributes of isolation, independent action and autonomy, resilience, preservation of private state, and asynchronous ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Effective Akka

Effective Akka

Jamie Allen
Akka in Action

Akka in Action

Rob Williams, Raymond Roestenburg, Robertus Bakker
Akka Cookbook

Akka Cookbook

Vivek Mishra, Héctor Veiga Ortiz
Akka in Action video edition

Akka in Action video edition

Raymond Roestenburg, Rob Bakker, Rob Williams

Publisher Resources

ISBN: 9781491934876Errata Page