
Effective Akka
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Copyright
- Table of Contents
- Preface
- Who This Book Is For
- What Problems Are We Solving with Akka?
- Distributed
- Asynchronous
- High Performance
- Reactive Applications
- Use Case for This Book: Banking Service for Account Data
- Conventions Used in This Book
- Using Code Examples
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Chapter 1. Actor Application Types
- Domain-driven
- Domain-driven Messages Are "Facts"
- Work Distribution
- Routers and Routees
- BalancingDispatcher Will Be Deprecated Soon!
- Work Distribution Messages Are "Commands"
- Chapter 2. Patterns of Actor Usage
- The Extra Pattern
- The Problem
- Avoiding Ask
- Capturing Context
- Sending Yourself a Timeout Message
- The Cameo Pattern
- The Companion Object Factory Method
- How to Test This Logic
- Chapter 3. Best Practices
- Actors Should Do Only One Thing
- Single Responsibility Principle
- Create Specific Supervisors
- Keep the Error Kernel Simple
- Failure Zones
- Avoid Blocking
- Futures Delegation Example
- Pre-defining Parallel Futures
- Parallel Futures with the zip() Method
- Sequential Futures
- Callbacks versus Monadic Handling
- Futures and ExecutionContext
- Push, Don't Pull
- When You Must Block
- Managed Blocking in Scala
- Avoid Premature Optimization
- Start Simple
- Layer in Complexity via Indeterminism
- Optimize with Mutability
- Prepare for Race Conditions
- Be Explicit
- Name Actors and ActorSystem Instances
- Create Specialized Messages
- Create Specialized Exceptions
- Beware the "Thundering Herd"
- Don't Expose Actors
- Avoid Using this
- The Companion Object Factory Method
- Never Use Direct References
- Don't Close Over Variables
- Use Immutable Messages with Immutable Data
- Help Yourself in Production
- Make Debugging Easier
- Add Metrics
- Externalize Business Logic
- Use Semantically Useful Logging
- Aggregate Your Logs with a Tool Like Flume
- Use Unique IDs for Messages
- Tune Akka Applications with the Typesafe Console
- Fixing Starvation
- Sizing Dispatchers
- The Parallelism-Factor Setting
- Actor Mailbox Size
- Throughput Setting
- Edge Cases
- About the Author
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.