Download Akka in Action by Raymond Roestenburg PDF

By Raymond Roestenburg


Akka in Action is a finished instructional on construction message-oriented structures utilizing Akka. The booklet takes a hands-on process, the place each one new idea is by means of an instance that indicates you ways it really works, how one can enforce the code, and the way to (unit) try out it.

Purchase of the print ebook contains a unfastened publication in PDF, Kindle, and ePub codecs from Manning Publications.

About the Technology

Akka makes it particularly effortless to construct purposes within the cloud or on units with many cores that successfully use the total capability 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 entire, hands-on instructional introduces each one thought with a case in point. you are going to commence with the massive photo of the way 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 studying the fundamentals, you will find the best way to version immutable messages, enforce area types, and follow strategies like occasion sourcing and CQRS. You'l additionally discover a instructional on development streaming purposes utilizing akka-stream and akka-http. ultimately, you'l get useful recommendation on the 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 pleased 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 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 operating
  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 advice
  17. Looking ahead

Show description

Read Online or Download Akka in Action PDF

Best enterprise applications books

Presentations with PowerPoint: Learning Made Simple

This convenient textbook covers all you must be aware of to start utilizing Powerpoint for shows. studying Made easy books provide you with talents with no frills. they're matched to the most skills, and written through skilled academics and authors to make frequently tough matters basic to profit. each ebook is designed rigorously to supply bite-sized classes matched on your wishes.

Microsoft Dynamics AX 2012 Security – How to

Securing ERP is the most factor these days it's not in simple terms approximately bits and bytes of community site visitors, but additionally approximately enterprise transactions, clients’ privileges and entry rights. Hackers elevate their understanding to hack and assault ERP structures because the details turns into the very important weapon nowadays. So securing your ERP isn't just approximately inner keep an eye on and auditing tactics, but in addition to guard all of your method opposed to outsiders or unauthorized clients

Splunk Developer's Guide

Key FeaturesThis is the main updated booklet on Splunk 6. three for developersGet prior to being only a Splunk person and begin growing customized Splunk functions as in line with your needsYour one-stop-solution to Splunk software developmentBook DescriptionSplunk offers a platform with a purpose to seek facts saved on a laptop, learn it, and visualize the analyzed information to make proficient judgements.

Instant Silverlight 5 Animation

Enhance your website or Silverlight enterprise program with Silverlight animations evaluation Animate Silverlight web page navigation construct and animate Silverlight customized controls. Create lively textures utilizing Perlin noise in Silverlight. construct three-D animations in Silverlight construct banner advertisements in Silverlight intimately Silverlight is an online know-how in order to create either huge enterprise functions and little advertisements in your web content.

Extra resources for Akka in Action

Example text

So we need some service that takes care of sending the messages to actors on other servers if necessary. It will also need to keep track in some kind of way where actors live and be able to provide references to communicate with the actors, from other servers. This is one of the things that Akka does for you, as you will soon see. Chapter 6 discusses the basics of distributed Akka applications, and chapter 13 discusses clustered Akka applications (in short, groups of distributed actors). The conversation doesn’t care what happens with the mentions component, but on the application level you do need to know that the mentions component doesn’t work anymore, among other things to show users that it is temporarily offline.

While you have more users than you can handle, you’re split between keeping the existing application running and rewriting it to support more users. You’ve been building applications for a while and choose to build it how you have in the past, taking the traditional approach, using low-level threads and locks, RPC, blocking I/O, and as we’ll see first on the menu in the next section: mutating state in a database. 4 Traditional scaling You start on one server. 3, “Data model design”.  Data model design For now you will just keep these objects in memory.

You have plans to run the web application on two front-end web servers for availability, with a load balancer in front of it. 4, “Load balanced / failover” shows the new setup.  Load balanced / failover The code is getting more complex because now you can’t just work with in-memory objects anymore; how would you keep the objects consistent on the two servers? ” and you remove all rich-featured objects and replace them with database code. The state of the objects doesn’t simply reside in memory on the web servers anymore, which means the methods on the objects can’t work on it directly, so essentially all important logic moves to database statements.

Download PDF sample

Rated 4.70 of 5 – based on 3 votes