By Raymond Roestenburg
Akka in Action is a complete educational on construction message-oriented platforms utilizing Akka. The booklet takes a hands-on method, the place every one new suggestion is through an instance that indicates you the way it really works, how you can enforce the code, and the way to (unit) attempt it.
Purchase of the print ebook features a unfastened book in PDF, Kindle, and ePub codecs from Manning Publications.
About the Technology
Akka makes it really effortless to construct purposes within the cloud or on units with many cores that successfully use the total potential of the computing energy to be had. it is a toolkit that gives an actor programming version, a runtime, and required help instruments for development scalable applications.
About the Book
Akka in Action indicates you the way to construct message-oriented platforms with Akka. This accomplished, hands-on educational introduces each one suggestion with a case in point. you will begin with the massive photo of ways Akka works, after which quick construct and set up a completely practical leisure provider out of actors. you are going to discover test-driven improvement and deploying and scaling fault-tolerant platforms. After gaining knowledge of the fundamentals, you will discover how one can version immutable messages, enforce area versions, and follow concepts like occasion sourcing and CQRS. You'l additionally discover a instructional on construction streaming purposes utilizing akka-stream and akka-http. ultimately, you'l get functional recommendation on the right way to customise and expand your Akka system.
- Getting concurrency right
- Testing and function tuning
- Clustered and cloud-based applications
- Covers Akka model 2.4
About the Reader
This ebook assumes that you are ok with Java and Scala. No earlier adventure with Akka required.
About the Authors
A software program craftsman and architect, Raymond Roestenburg is an Akka committer. Rob Bakker makes a speciality of concurrent back-end platforms and platforms integration. Rob Williams has greater than twenty years of product improvement experience.
Table of Contents
- Introducing Akka
- Up and operating
- Test-driven improvement with actors
- Fault tolerance
- Your first disbursed Akka app
- Configuration, logging, and deployment
- Structural styles for actors
- Routing messages
- Message channels
- Finite-state machines and brokers
- System integration
- Actor endurance
- Performance assistance
- Looking ahead
Read or Download Akka in Action PDF
Similar enterprise applications books
The ComprehensiveCrystal reviews source you have been having a look ForMastering Crystal stories nine covers easy reporting talents, yet its major objective is to offer you the total insurance different books do not provide. you are going to not just completely examine the strong positive aspects of Crystal reviews nine, but additionally the best way to advance customized functions to satisfy the explicit wishes of your company.
As a newcomer to Open workplace i assumed this e-book might be important yet i discovered it outdated.
This e-book is a centred educational that exhibits you ways to create enterprise-ready web content and purposes that entry Microsoft SharePoint Server on home windows telephone 7. This publication makes a speciality of SharePoint 2010; despite the fact that, the various thoughts and factors also will practice to SharePoint 2007. while you're a . web developer who desires to create enterprise-ready web content and functions that entry SharePoint Server on home windows mobilephone 7, then this ebook is for you.
Discover ways to construct company ideas with SharePoint 2013Now in its 3rd variation, this perennial bestseller encompasses a whole overhaul for the most recent model of SharePoint. essential for development enterprise suggestions in SharePoint, real-world situations deal with serious details administration difficulties and special descriptions clarify how you can successfully and effectively deal with those demanding situations.
- Quick Course in Microsoft Word 2002
- Sarbanes-Oxley IT Compliance Using Open Source
- Databases with Access: Learning Made Simple
- Learning Apache Mahout Classification
- Protecting Patient Information. A Decision-Maker's Guide to Risk, Prevention, and Damage Control
- Qmail Quickstarter: Install, Set Up and Run your own Email Server: A fast-paced and easy-to-follow, step-by-step guide that gets you up and running quickly
Extra resources for Akka in Action
The actor model implementation in Akka differs in a couple of details from the Erlang implementation, but has definitely been heavily influenced by Erlang, and shares a lot of its concepts. Send An actor can only communicate with another actor by sending it messages. This takes encapsulation to the next level. In objects you can specify which methods can be publicly called and which state is accessible from the outside. Actors don’t allow any access to internal state, like for instance the list of messages in a conversation.
Any message that is sent to the closed conversation could be ignored. The conversation swaps its behavior from adding messages to the conversation to ignoring all messages. Supervise An actors needs to supervise the actors that it creates. 18, “Supervise”. Supervise The supervisor decides what should happen when components fail in the system. It could for instance decide that the chat application continues when the mentions and NotifyActor have crashed since they are not critical components. The supervisor gets notified with special messages that indicate which actor has crashed, and for what reason.
Eventually a dispatcher will push it through the actor. This actor in turn can leave a message behind for the next actor, which will be pushed through at some point. Actors are lightweight because they run on top of dispatchers; the actors are not necessarily directly proportional to the number of threads. 7 million actors can fit in 1GB of memory. That’s a big difference compared to 4096 threads for 1GB of memory, which means that you can create different types of actors more freely than you would when using threads directly.