Get Akka in Action PDF

By Raymond Roestenburg

ISBN-10: 1617291013

ISBN-13: 9781617291012


Akka in Action is a finished instructional on development message-oriented platforms utilizing Akka. The booklet takes a hands-on strategy, the place every one new notion is by means of an instance that indicates you the way it really works, the right way to enforce the code, and the way to (unit) try it.

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

About the Technology

Akka makes it rather effortless to construct functions within the cloud or on units with many cores that successfully use the complete potential of the computing strength to be had. it is a toolkit that offers an actor programming version, a runtime, and required help instruments for development scalable applications.

About the Book

Akka in Action exhibits you the way to construct message-oriented structures with Akka. This complete, hands-on instructional introduces each one suggestion with a for instance. you will begin with the massive photo of ways Akka works, after which speedy construct and install a completely sensible relaxation carrier out of actors. you will discover test-driven improvement and deploying and scaling fault-tolerant structures. After gaining knowledge of the fundamentals, you will discover the best way to version immutable messages, enforce area types, and follow innovations like occasion sourcing and CQRS. You'l additionally discover a instructional on development streaming functions utilizing akka-stream and akka-http. eventually, you'l get sensible suggestion on the best 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 booklet assumes that you are pleased 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 platforms integration. Rob Williams has greater than two decades 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 dispensed 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 patience
  16. Performance assistance
  17. Looking ahead

Show description

Read Online or Download Akka in Action PDF

Best enterprise applications books

Get WebPlus X2 user guide PDF

WebPlus X2 person consultant: US model [Paperback]

Architecture and Patterns for IT Service Management, - download pdf or read online

"Intended for executives, planners and excessive point IT managers, this quantity offers a complete assessment of the atmosphere of knowledge expertise and explores the interconnectedness of know-how and enterprise as a procedure of price for IT structure. subject matters mentioned comprise IT as an evolving approach of continuing development, common architectures, styles for IT procedures and IT lifecycles.

Ryan Teeter's Google Sites and Chrome for Dummies PDF

Excited by Google websites and the way crew collaboration sites might be useful percentage records on-line from a variety of destinations? concerned about Google's new Chrome browser? Google websites & Chrome For Dummies has what you must comprehend! this day, Google is much more than one other be aware for "search".

Read e-book online VMware vCenter operations manager essentials PDF

Discover virtualization basics and realworld options for the fashionable community administratorAbout This publication Written via VMware specialist Lauren Malhoit, this e-book takes a glance at vCenter Operations supervisor from a realistic perspective that each administrator can delight in comprehend, troubleshoot, and layout your digital setting in a greater and extra effective approach than you ever have earlier than A step by step and learn-by-example advisor to figuring out the fine details of vCenter Operations supervisor Who This ebook Is ForThis ebook is for directors, engineers, and designers of VMware vSphere in addition to those that have or have an interest in paying for the vCenter Operations supervisor Suite.

Extra info for Akka in Action

Sample text

The insert might fail, or the database might not be available at that exact moment in time because the database server crashed or because there’s a problem with the network. The in-memory version had a sprinkling of locks to make sure that the data wouldn’t get corrupted by concurrent users. Now that you’re using “Database X,” you will have to find out how to solve that problem again and make sure that you don’t end up with duplicate records or other inconsistent data. Only now you have to find out how to exactly do that with the Database X library.

The code is simple and is easy to manage. But so far this application only runs in memory, so whenever it’s restarted, all conversations are lost. It can also only run on one server at this point. Your web app user interface built with [insert shiny new JavaScript library] is so impressive that stakeholders want to immediately go live with it, even though you repeatedly warned that it’s just for demo purposes! Time to move to more servers and setup a production environment. 1 Traditional scaling and durability: “Move everything to the database” You decide to add a database to the equation.

That’s a big difference compared to 4096 threads for 1GB of memory, which means that you can create different types of actors more freely than you would when using threads directly. There are different types of dispatchers to choose from which can be tuned to specific needs. Being able to configure and tune the dispatchers and the mailboxes that are used throughout the application gives a lot of flexibility when performance tuning. We give a couple of simple tips on performance tuning in chapter 15.

Download PDF sample

Akka in Action by Raymond Roestenburg

by Michael

Rated 5.00 of 5 – based on 20 votes

Categories: Enterprise Applications