By Raymond Roestenburg
Akka in Action is a complete instructional on development message-oriented structures utilizing Akka. The e-book takes a hands-on strategy, the place every one new thought is via an instance that indicates you the way it really works, how you can enforce the code, and the way to (unit) try out it.
Purchase of the print e-book encompasses a unfastened e-book in PDF, Kindle, and ePub codecs from Manning Publications.
About the Technology
Akka makes it fairly effortless to construct purposes within the cloud or on units with many cores that successfully use the entire ability of the computing strength on hand. it is a toolkit that gives an actor programming version, a runtime, and required aid instruments for development scalable applications.
About the Book
Akka in Action exhibits you the way to construct message-oriented structures with Akka. This finished, hands-on educational introduces each one inspiration with a case in point. you will commence with the large photo of the way Akka works, after which quick construct and install a completely sensible leisure 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 find the right way to version immutable messages, enforce area versions, and follow ideas like occasion sourcing and CQRS. You'l additionally discover a educational on construction streaming functions utilizing akka-stream and akka-http. ultimately, you'l get sensible recommendation on easy methods to customise and expand your Akka system.
- Getting concurrency right
- Testing and function tuning
- Clustered and cloud-based applications
- Covers Akka model 2.4
About the Reader
This e-book assumes that you are pleased with Java and Scala. No previous 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 platforms integration. Rob Williams has greater than twenty years of product improvement experience.
Table of Contents
- Introducing Akka
- Up and operating
- Test-driven improvement with actors
- Fault tolerance
- Your first allotted Akka app
- Configuration, logging, and deployment
- Structural styles for actors
- Routing messages
- Message channels
- Finite-state machines and brokers
- System integration
- Actor patience
- Performance information
- Looking ahead
Read Online or Download Akka in Action PDF
Best enterprise applications books
A realistic instructional, this publication indicates you ways to establish and configure Dynamics AX 2009 after which how you can enhance and preserve its functionality with transparent step by step directions, permitting Dynamics AX to suit your company's wishes. while you are a community administrator or IT body of workers charged with developing and configuring Dynamics AX 2009 on your corporation, then this booklet is for you.
This can be the entire consultant to configuring fabrics administration in SAP in line with your company's enterprise strategies. you will find out about the major recommendations and procedures for fabrics administration, and the way it may be configured to aid your small business strategies. Case reports and best-practice learn are used all through that can assist you advance a powerful and thorough realizing of why and the way to configure fabrics administration in SAP in line with your personal specific specifications.
SQL Server 2012 money owed for a tremendous proportion of the database marketplace, and an increasing number of businesses are enforcing SSRS as a part of their BI implementation. Its Reporting prone deals a complete, hugely scalable answer that allows real-time selection making. SQL Server 2012 Reporting companies Blueprints is meant to be simply that, a sequence of Blueprints – issues that paintings directly out of the field and that reflect what a true task calls for genuine file builders to do.
Considering the fact that its unique ebook in 1999, this foundational ebook has develop into a vintage in its box. This moment version, Code model 2. zero, updates the paintings and used to be ready partially via a wiki, a website permitting readers to edit the textual content, making this the 1st reader-edited revision of a favored e-book.
- Microsoft Dynamics Sure Step 2010
- Achieving Service-Oriented Architecture: Applying an Enterprise Architecture Approach
- SAP Governance, Risk and Compliance
- Agent and Web Service Technologies in Virtual Enterprises
- Microsoft Dynamics Sure Step 2010
Additional info for Akka in Action
But this is not the only reason, which we will get into in the next section. There are cases where you would like to look up an actor in the actor system. This is where ActorPaths come in. You could compare the hierarchy of actors to a URL path structure. Every actor has a name. This name needs to be unique per level in the hierarchy: two sibling actors can’t have the same name (if you don’t provide a name, Akka generates one for you, but it’s a good idea to name all your actors). All actor references can be located directly by an actor path, absolute or relative.
The number of CPU cores in devices is also ever-increasing: even mobile phones and tablets have many CPU cores today. But that doesn’t mean that we can afford to throw any number of resources at any problem. In the end, everything is about cost and efficiency. So it’s all about effectively scaling applications, or in other words, getting bang for your buck. Just as you’d never use a sorting algorithm with exponential time complexity, it makes sense to think about the cost of scaling. Ideally, you’d expect the following two statements to be true when scaling your application: The ability to handle any increase of demand with the same number of resources is unrealistic, so ideally you’d want the required increase of resources to be growing slowly when demand grows, linear or better.
The only thing that has to change is how the reference to remote actors is looked up, which can be achieved solely through configuration, as we will see later. The code stays exactly the same. Which means that we can often transition from scaling up to scaling out without having to change a single line of code. The flexibility of resolving an address is heavily used in Akka, as we will show throughout this book. Remote actors, clustering, and even the test toolkit use this flexibility. 8 Summary Let’s recap what we have learned in this chapter.