By Raymond Roestenburg
Akka in Action is a complete educational on development message-oriented platforms utilizing Akka. The booklet takes a hands-on method, the place every one new thought is by way of an instance that exhibits you the way it really works, how one can enforce the code, and the way to (unit) try it.
Purchase of the print publication features a loose e-book in PDF, Kindle, and ePub codecs from Manning Publications.
About the Technology
Akka makes it quite effortless to construct purposes within the cloud or on units with many cores that successfully use the complete means of the computing strength to be had. it is a toolkit that offers an actor programming version, a runtime, and required aid instruments for construction scalable applications.
About the Book
Akka in Action exhibits you ways to construct message-oriented structures with Akka. This finished, hands-on educational introduces each one idea with a case in point. you will begin with the large photograph of the way Akka works, after which quick construct and set up an absolutely useful relaxation provider out of actors. you are going to discover test-driven improvement and deploying and scaling fault-tolerant structures. After getting to know the fundamentals, you will find find out how to version immutable messages, enforce area versions, and practice innovations like occasion sourcing and CQRS. You'l additionally discover a instructional on development streaming functions utilizing akka-stream and akka-http. ultimately, you'l get functional suggestion 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 event 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 structures integration. Rob Williams has greater than two decades of product improvement experience.
Table of Contents
- Introducing Akka
- Up and working
- Test-driven improvement with actors
- Fault tolerance
- Your first allotted Akka app
- Configuration, logging, and deployment
- Structural styles for actors
- Routing messages
- Message channels
- Finite-state machines and brokers
- System integration
- Actor endurance
- Performance counsel
- Looking ahead
Read or Download Akka in Action PDF
Best enterprise applications books
Social media might be an exceptionally robust advertising software that brings an organization or association large rewards. yet for newcomers during this new international, the capability dangers also are excessive. shoppers are relatively passionate within the on-line global; the main lively social networkers are poised to be your brand's gushing fans—or your so much scathing critics.
Adobe company Catalyst is a hosted software for development and dealing with on-line companies. utilizing this unified platform and with no back-end coding, net designers can construct every little thing from striking web content to strong on-line shops, appealing brochure-ware websites to mini-sites. To paintings in BC, designers use Dreamweaver (CS4 or later) with the unfastened enterprise Catalyst extension put in.
Select the right mix of public, inner most, and information middle assets to empower what you are promoting Hybrid clouds are remodeling the way in which that businesses do enterprise. this useful consultant is helping you discover out what this new cloud deployment version is all approximately. you will get down- to-earth information regarding cloud expertise, inquiries to think of, and the way to plot and carry your circulation to a hybrid atmosphere.
Extra info for Akka in Action
As we will see, this is conceptually how Akka provides error recovery, which is discussed in chapter 4 on fault tolerance. In the next section we’ll talk about actors in general first, and then talk about Akka actors. 6 Actors: One programming model to rule up and out Most general-purpose programming languages are written in sequence (Scala and Java being no exception to the rule). A concurrent programming model its required to bridge the gap between sequential definition and parallel execution.
The conversation and mentions object can reside on different servers; the events are just messages that can be transmitted over the network. The event driven approach solves the polling problem with the mentions object, as well as the direct coupling with the TeamFinder object. In chapter 5 on futures, we’ll look at some better ways to communicate with many web services than sequentially waiting for every response, which we will leave out of scope for now. It’s important to note that once again we can model the solution to this problem by simply sending and receiving messages.
We’ll look at what we'll call the traditional approach, a method that you are probably familiar with to building such an application (using threads and locks, RPC and the like) and compare it to Akka’s approach. The traditional approach starts with a simple in-memory application, which turns into an application that relies completely on a database for both concurrency and mutating state. Once the application needs to be more interactive we’ll have no choice but to poll this database. Once more network services are added, we’ll show that the combination of working with the database and the RPC-based network increases complexity significantly.
Akka in Action by Raymond Roestenburg