You are here

Akka in Action by Raymond Roestenburg

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.

What's Inside

  • 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

  1. Introducing Akka
  2. Up and operating
  3. Test-driven improvement with actors
  4. Fault tolerance
  5. Futures
  6. Your first disbursed Akka app
  7. Configuration, logging, and deployment
  8. Structural styles for actors
  9. Routing messages
  10. Message channels
  11. Finite-state machines and brokers
  12. System integration
  13. Streaming
  14. Clustering
  15. Actor endurance
  16. Performance assistance
  17. Looking ahead

Show description

Read or Download Akka in Action PDF

Similar enterprise applications books

Mastering Crystal Reports 9

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. for Dummies

As a newcomer to Open workplace i assumed this e-book might be important yet i discovered it outdated.

Microsoft SharePoint 2010 Enterprise Applications on Windows Phone 7

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.

Beginning SharePoint 2013: Building Business Solutions

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.

Extra resources for Akka in Action

Example text

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.

Download PDF sample

Rated 4.81 of 5 – based on 6 votes