Akka in Action by Raymond Roestenburg PDF

By Raymond Roestenburg

ISBN-10: 1617291013

ISBN-13: 9781617291012


Akka in Action is a accomplished educational on development message-oriented platforms utilizing Akka. The ebook takes a hands-on process, the place every one new idea is by way of an instance that exhibits you ways it really works, tips to enforce the code, and the way to (unit) try out it.

Purchase of the print booklet incorporates a loose e-book in PDF, Kindle, and ePub codecs from Manning Publications.

About the Technology

Akka makes it quite effortless to construct functions within the cloud or on units with many cores that successfully use the total ability of the computing strength on hand. it is a toolkit that gives 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 complete, hands-on educational introduces every one notion with a for instance. you are going to commence with the large photo of the way Akka works, after which quick construct and set up an absolutely sensible relaxation carrier out of actors. you will discover test-driven improvement and deploying and scaling fault-tolerant structures. After studying the fundamentals, you will discover the way to version immutable messages, enforce area versions, and follow innovations like occasion sourcing and CQRS. You'l additionally discover a instructional on construction streaming purposes utilizing akka-stream and akka-http. eventually, you'l get useful suggestion on the right 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 happy with Java and Scala. No past adventure 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

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

Best enterprise applications books

Get Designing Enterprise Applications with Java 2 Enterprise PDF

The Java 2 Platform, company variation, deals firm builders a simplified, component-based method of growing purposes for either intranets and the web. Created by way of the company crew of the Java software program team at sunlight Microsystems, Designing company purposes with the Java(tm) 2 Platform, company variation describes the appliance configurations supported by way of the J2EE platform and provides functional directions for settling on the easiest layout for specific wishes.

New PDF release: The Next Wave of Technologies: Opportunities in Chaos

Your all-inclusive advisor to the entire most up-to-date applied sciences giving you a greater knowing of the newest applied sciences, together with Cloud Computing, software program as a provider, Service-Oriented structure (SOA), Open resource, cellular Computing, Social Networking, and enterprise Intelligence, the subsequent Wave of applied sciences: possibilities from Chaos is helping you recognize which inquiries to ask whilst contemplating if a selected expertise is true in your association.

New PDF release: Handbook of Research on Software Engineering and

International software program improvement and productiveness comparable applied sciences are the foremost to contemporary globalization with new applied sciences and ideas being built regularly. In such an ever-evolving setting, academics, researchers, and execs within the self-discipline desire entry to the most up-tp-date information regarding the suggestions, matters, traits, and applied sciences during this rising box.

Social Media Playbook for Business: Reaching Your Online by Tom Funk PDF

Social media might be an extremely strong advertising device that brings an organization or association large rewards. yet for newbies 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 such a lot scathing critics.

Additional info for Akka in Action

Example text

The last word has not been said on this and the Akka team is researching how to define a more type safe version of actors, which we might see details of in a next version of Akka. Stay tuned. So what do you do when a user wants to edit a message in a conversation? We could send an EditMessage message to the conversation. The EditMessage contains a modified copy of the message, instead of updating the message in place in a shared messages list. The ConversationActor receives the EditMessage and replaces the existing message with the new copy.

Coding directly to the database moved us away from one simple in-memory model. Methods that were once simple turned into database RPC commands, leaving us with a mixed programming model. We have to find another way to make sure that the conversations are not lost, while keeping things simple. 1 Scaling with Akka and durability: sending and receiving messages Let’s first solve the initial problem of just making conversations durable. The application objects must save conversations in some way. The conversations must at least be recovered when the application restarts.

Conversations are collections of messages. So far, so good. You flesh out the behavior of the application and build a web-based user interface. You’re at the point where you can show the application to prospect users and give demos. 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!

Download PDF sample

Akka in Action by Raymond Roestenburg

by Thomas

Rated 4.52 of 5 – based on 29 votes