By Raymond Roestenburg
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.
- 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
- Introducing Akka
- Up and working
- Test-driven improvement with actors
- Fault tolerance
- Your first disbursed Akka app
- Configuration, logging, and deployment
- Structural styles for actors
- Routing messages
- Message channels
- Finite-state machines and brokers
- System integration
- Actor endurance
- Performance suggestions
- Looking ahead
Read Online or Download Akka in Action PDF
Best enterprise applications books
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.
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.
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 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.
- Business Process Management Workshops: BPM 2014 International Workshops, Eindhoven, The Netherlands, September 7-8, 2014, Revised Papers
- Practical Planning. Extending the Classical AI Planning Paradigm
- Real World SharePoint 2010: Indispensable Experiences From 22 MVPs
- The science of the blockchain
Additional info for Akka in Action
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.
Akka in Action by Raymond Roestenburg