Akka in Action - download pdf or read online
By Raymond Roestenburg
Akka is a Scala-based toolkit that simplifies constructing concurrent dispensed purposes. excellent for high-volume purposes that have to scale quickly, Akka is an effective origin for event-driven structures that are looking to scale elastically up and out on call for, either on multi-core processors and throughout server nodes.
Akka in motion is a accomplished instructional on development message-oriented structures utilizing Akka. The booklet takes a hands-on method, the place each one new suggestion is by way of an instance that indicates the way it works, tips on how to enforce the code, and the way to check it. Readers will discover a message-oriented event-driven software in Akka and likewise take on key matters like tips to version immutable messages and area types, and follow styles like occasion Sourcing, and CQRS. The booklet concludes with useful recommendation on the best way to song and customise a method outfitted with Akka.
Read or Download Akka in Action PDF
Best enterprise applications books
Company Collaboration and effective Social content material administration evaluate comprehend the recommendations and merits of proportion Leverage a unmarried deploy to control a number of websites Case Study-based technique for powerful realizing intimately Alfresco percentage is a contemporary, browser-based platform for social content material administration and collaboration.
Leverage the facility of Chatter to spice up collaboration on your association evaluation comprehend Salesforce Chatter and its structure. Configure and organize Chatter in your association enhance Chatter good points by using Apex and Visualforce Pages realize the recent Chatter relaxation API for builders A step by step advisor to strengthen a completely practical Chatter software with chatter facts cleansing proposal intimately Salesforce Chatter offers a safe surroundings that allows you to stick attached for your shoppers.
You've gotten heard approximately pair programming's merits: fewer insects, stronger talents, and swifter supply. yet what occurs for those who are looking to pair with anyone in one other urban, state, or maybe hemisphere? With the correct instruments, you will not need to relocate to refactor. during this publication, you are going to research suggestions utilized by the most efficient distant programmers within the to pair with somebody at the globe on any type of undertaking.
Extra info for Akka in Action
A Future is a value that is going to be available at some point in the future (hence the name). Instead of waiting for the response value (the number of tickets left) we get a future reference (which you could read as 'use for future reference'). We never read the value directly but instead we define what should happen once the value becomes available. We can even combine a list of Future values into one list of values and describe what should happen with this list once all of the asynchronous operations complete.
Incorrect usage of just one barrier can block a unit test which in turn halts the execution of a full test suite. Statelessness - An actor hides its internal state and does not allow access to this state. Access should only be possible through the ActorRef. Calling a method on an actor and checking its state is prevented on purpose, which is something you would like to be able to do when unit testing. Collaboration/Integraton - If you want to do an integration test of a couple of actors, you would need to eavesdrop in between the actors to assert that the messages have the expected values.
We will focus more on the multi-threaded approach to testing, since this can show problems with the code that will not be apparent in a single-threaded environment. (You probably will not be surprised that we also prefer a classical unit testing approach over mocking). Next, we'll cover what needs to be done to get ready to start writing tests (setup). Then, we'll go into testing with messages, and will see some of our first working examples. 1 Preparing to Test Before we start we will have to do a little preparation so that we don't repeat ourselves unnecessarily.
Akka in Action by Raymond Roestenburg