Scaling software with akka
The reply is implemented in Akka with getSender. A "supevisor detects and responds to the failures of the Actor s it supervises" and Klang stated that this translates to "a clean separation and processing and error handling. Klang talked about "failure management in Java, C, and C " where you are "given a single thread of control. Klang said the way to deal with error handling is to push the error handling out away from the business logic. He then referenced the onion-layer error kernel.
Klang talked about callbacks preRestart and postRestart provided for Actors to handle failures. A Router is a special case of Actor. Klang showed a slide with code using a RoundRobinRouter. He also showed being able to define the deployment scenario outside of the code in configuration file and referencing that from the code with a path. He took this example even further to show code for "remote deployment" specifying a URL with the "akka" protocol, a host name, and a port.
Everything that Klang presented to this point is available today as Akka 2. Klang said that there will be Akka Cluster in the to-be-released-soon Akka 2. He asked for feedback to ensure that the correct APIs and correct functionality are available for clustering in Akka 2. More information on Akka clustering is available in the specification , the user guide, and the code itself. Akka 2. The Typesafe Console is also available to monitor an Akka application and there is a live demo of this available.
Sponsored Content. Related Editorial. Hello stranger! Get the most out of the InfoQ experience. Tell us what you think. Email me replies to any of my messages in this thread. Community comments.
Create your free account to continue reading. Sign Up. Upcoming SlideShare. Embed Size px. Start on. Show related SlideShares at end. WordPress Shortcode. Share Email. Top clipped slide. Download Now Download Download to read offline.
Scaling software with akka Mar. Scala Conference in Japan From Microliths To Microsystems. GraalVM Overview Compact version. Related Books Free with a 30 day trial from Scribd. Related Audiobooks Free with a 30 day trial from Scribd. Outstanding Leadership Stan Toler. Scaling software with akka 1. Scaling Scaling software with software with 3. Scaling Scaling Copyright Ingeborg van Leeuwen software with software with 4.
Selection of Akka Production Users 5. How can we achieve this?