Book description
Avoid common mistakes when building distributed, asynchronous, high-performance software with the Akka toolkit and runtime. With this concise guide, author Jamie Allen provides a collection of best practices based on several years of using the actor model. The book also includes examples of actor application types and two primary patterns of actor usage, the Extra Pattern and Cameo Pattern.
Allen, the Director of Consulting for Typesafe—creator of Akka and the Scala programming language—examines actors with a banking-service use case throughout the book, using examples shown in Akka and Scala. If you have any experience with Akka, this guide is essential.
- Delve into domain-driven and work-distribution actor applications
- Understand why it’s important to have actors do only one job
- Avoid thread blocking by allowing logic to be delegated to a Future
- Model interactions as simply as possible to avoid premature optimization
- Create well-defined interactions, and know exactly what failures can occur
- Learn why you should never treat actors as you would an ordinary class
- Keep track of what goes on in production by monitoring everything
- Tune Akka applications with the Typesafe Console
Table of contents
- Effective Akka
- Preface
- 1. Actor Application Types
- 2. Patterns of Actor Usage
- 3. Best Practices
- About the Author
- Colophon
- Copyright
Product information
- Title: Effective Akka
- Author(s):
- Release date: August 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449360030
You might also like
book
Concurrency in Go
Concurrency can be notoriously difficult to get right, but fortunately, the Go open source programming language …
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Effective Java, 3rd Edition
Since this Jolt-award winning classic was last updated in 2008, the Java programming environment has changed …
book
How to be a good tech lead
In this chapter from The Manager's Path, you'll learn the biggest trick of being a good …