Download Akka in Action by Raymond Roestenburg PDF

By Raymond Roestenburg

ISBN-10: 1617291013

ISBN-13: 9781617291012


Akka in Action is a complete instructional on development message-oriented structures utilizing Akka. The ebook takes a hands-on strategy, the place each one new inspiration is by means of an instance that exhibits you ways it really works, easy methods to enforce the code, and the way to (unit) try it.

Purchase of the print booklet features a loose booklet 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 means of the computing energy on hand. it is a toolkit that gives an actor programming version, a runtime, and required help instruments for construction scalable applications.

About the Book

Akka in Action exhibits you ways to construct message-oriented structures with Akka. This accomplished, hands-on instructional introduces each one thought with a case in point. you are going to begin with the massive photo of ways Akka works, after which speedy construct and install a completely sensible relaxation carrier out of actors. you are going to discover test-driven improvement and deploying and scaling fault-tolerant structures. After gaining knowledge of 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 purposes utilizing akka-stream and akka-http. eventually, you'l get useful suggestion on how you can 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 publication assumes that you are happy with Java and Scala. No past event with Akka required.

About the Authors

A software program craftsman and architect, Raymond Roestenburg is an Akka committer. Rob Bakker focuses on concurrent back-end structures and structures integration. Rob Williams has greater than twenty years of product improvement experience.

Table of Contents

  1. Introducing Akka
  2. Up and working
  3. Test-driven improvement with actors
  4. Fault tolerance
  5. Futures
  6. Your first allotted 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

Best enterprise applications books

Information Technology, Corporate Productivity, and the New Economy

This ebook offers stable info at the hyperlinks among details expertise and company productiveness. The time period "productivity paradox" is thrown round much in study to explain this hyperlink and why productiveness doesn't appear to elevate proportionately with the funding in details expertise.

Securing Hadoop

Safety of huge facts is likely one of the largest matters for corporations this day. How can we guard the delicate info in a Hadoop surroundings? How will we combine Hadoop protection with latest firm defense platforms? What are the demanding situations in securing Hadoop and its environment? those are the questions which must be replied as a way to verify powerful administration of massive facts.

Big Data Applications and Use Cases

This ebook offers various use situations in large info purposes and comparable sensible studies. Many companies this day are more and more drawn to using enormous info applied sciences for assisting their company intelligence in order that it really is turning into a growing number of very important to appreciate a few of the functional concerns from various sensible use instances.

Getting Started with BizTalk Services

Create robust integration recommendations for the cloud utilizing the extensible home windows Azure BizTalk ServicesAbout This e-book Create integration options at the cloud with home windows Azure BizTalk prone comprehend different features of BizTalk providers and the way to exploit them successfully attach companies jointly in scalable and versatile ways in which transcend what conventional on-premises integration items (such as BizTalk Server) can deal with Who This e-book Is ForThis ebook is meant when you are looking to comprehend BizTalk prone, what it might probably do, and the way to construct integration suggestions utilizing it of their agencies.

Additional resources for Akka in Action

Sample text

Up until not too long ago (say up to the middle of the ’90s, just before the internet revolution) it was completely normal to build applications that would only ever run on a single computer, single CPU. If the application wasn’t fast enough, the standard response would be to wait for a while for CPUs to get faster; no need to change any code. Problem solved. Programmers around the world were having a “free lunch” and life was good. Around 2005, Herb Sutter wrote in Dr. htm). In short, a limit to increasing CPU clock speeds has been reached and the free lunch is over.

Threads might be executed on many CPUs in parallel, or using some sharing mechanism like time slicing on one CPU. As we discussed earlier, threads can’t be applied directly to scaling out, only to scaling up.  Concurrent programming model The concurrent programming model that we’re after should function for one CPU or many, one server or many servers. The actor model chooses the abstraction of sending and receiving messages to decouple from the number of threads or the number of servers that are being used.

Now how do you move from 3 servers to say 10, and then to 100 servers, if this would be required? It’s getting obvious that this approach doesn’t scale well. The approach itself doesn’t scale: we need to change direction with every new challenge. In the next section we’re going to find out if we can come up with a design strategy that doesn’t require us to change direction with every new challenge. 5 Scaling with Akka Let’s see in the next sections if we can deliver on the promise to use only actors to meet the scaling requirements of the application.

Download PDF sample

Akka in Action by Raymond Roestenburg

by Donald

Rated 4.38 of 5 – based on 48 votes