Download Akka in Action by Raymond Roestenburg PDF

By Raymond Roestenburg

Summary

Akka in Action is a complete educational on construction message-oriented platforms utilizing Akka. The ebook takes a hands-on method, the place every one new idea is via an instance that indicates you the way it really works, the right way to enforce the code, and the way to (unit) attempt it.

Purchase of the print ebook features a loose booklet 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 complete skill of the computing strength 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 exhibits you ways to construct message-oriented structures with Akka. This entire, hands-on instructional introduces every one suggestion with a case in point. you are going to begin with the large photo of ways Akka works, after which fast construct and set up a completely practical leisure carrier out of actors. you are going to discover test-driven improvement and deploying and scaling fault-tolerant platforms. After gaining knowledge of the fundamentals, you will find find out how to version immutable messages, enforce area versions, and follow strategies like occasion sourcing and CQRS. You'l additionally discover a educational on development streaming functions utilizing akka-stream and akka-http. ultimately, you'l get functional 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 ebook 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 platforms 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 suggestions
  17. Looking ahead

Show description

Read Online or Download Akka in Action PDF

Similar enterprise applications books

Learning System Center App Controller

Layout, enforce, and deal with method heart App Controller

About This Book

Manage program prone utilizing procedure heart App controller
Move digital Machines from on-premises to Microsoft Azure Cloud, coping with inner most Cloud, and Public Microsoft Azure Cloud
Step-by-step implementation of SQL server, digital computing device supervisor, and App Controller
Who This e-book Is For

This publication is meant for IT execs operating with Hyper-V, Azure cloud, VMM, and personal cloud applied sciences who're searching for a brief strategy to wake up and working with method heart 2012 R2 App Controller. To get the main out of this e-book, you have to be accustomed to Microsoft Hyper-V know-how. wisdom of digital desktop supervisor is useful yet no longer mandatory.

In Detail

System heart App Controller offers an built-in console that is helping you deal with private and non-private clouds, in addition to cloud-based digital machines and services.

Learning approach heart App Controller publications you thru a winning implementation of App Controller in minimum time. The ebook begins via overlaying how you can set up the necessities and process middle digital laptop supervisor Server and concludes with issues comparable to backup and restoration. by means of the tip of this ebook, you have wide wisdom and an organization figuring out of ways to take advantage of App Controller efficiently.

This ebook is a step by step advisor that introduces you to approach middle App Controller and speedy strikes directly to the typical projects which are confronted through an IT specialist coping with digital and actual environments inside a knowledge heart.

MCTS: Microsoft Silverlight 4 Development

A compact certification advisor that will help you arrange for, and cross, the (70-506): TS: Microsoft Silverlight four, improvement examination evaluation This publication and book will offer all it's essential to recognize to cross the Microsoft Silverlight four improvement (70-506) examination. incorporates a complete set of try questions and solutions The format and content material of the publication suits that of the abilities measured by way of the examination heavily, which makes it effortless to concentration your studying and maximize your examine time the place you would like development.

Exploring IBM e-business software : become an instant insider on IBM's Internet business tools

This certain examine IBM's software program items which are to be had for e-business permits IBM clients to achieve a primary knowing of e-business structure, the place IBM software program items healthy into that structure, and the place to visit get additional info. this is info at the major items and systems for improvement instruments and elements, software server software program, and safe community and administration software program.

SAP HANA An Introduction

SAP HANA is evolving speedily are you on best of the newest advancements? The 3rd version of our best-selling creation covers all flooring: from the fundamentals of in-memory know-how to the latest techniques within the HANA panorama. With new discussions of local program improvement, SAP HANA Cloud Platform, and extra, this publication is all you must take your first HANA steps.

Extra resources for Akka in Action

Example text

The chat application first creates the SupervisorActor, which in turn creates all other actors in the application. The ConversationsActor recovers all conversations from the journal. It then creates a ConversationActor for every conversation, which in turn recovers itself from the journal.  Create Become State machines are a great tool for making sure that a system will only execute particular actions when it is in a specific state. Actors receive messages one at a time which is a convenient property for implementing state machines.

Isolate failure, and continue without failing parts. Imagine that you have plans to conquer the world with a state-of-the art chat application which will revolutionize the online collaboration space. It’s focused on business users where teams can easily find each other and work together. You have tons of ideas of how this interactive application can connect to project management tools and integrate with existing communication services. In good Lean Startup spirit, you start with an MVP (minimal viable product) of the chat application to learn as much as possible from your prospect users about what they need.

Immutability is an absolute necessity when it comes to concurrency and is another restriction that makes life simpler, because there are fewer moving parts to manage. The order of sent messages is kept between a sending and receiving actor. An actor receives messages one at a time. Imagine that a user edits a message many times: it would make sense that the user eventually sees the result of the final edit of the message. The order of messages is only guaranteed per sending actor, so if many users would edit the same message in a conversation, the final result can vary depending on how the messages are interleaved over time.

Download PDF sample

Rated 4.85 of 5 – based on 14 votes