By Raymond Roestenburg
Akka is a Scala-based toolkit that simplifies constructing concurrent disbursed purposes. excellent for high-volume purposes that have to scale quickly, Akka is an effective beginning for event-driven structures that are looking to scale elastically up and out on call for, either on multi-core processors and throughout server nodes.
Akka in motion is a complete instructional on development message-oriented platforms utilizing Akka. The booklet takes a hands-on technique, the place each one new inspiration is by means of an instance that exhibits the way it works, easy methods to enforce the code, and the way to check it. Readers will discover a message-oriented event-driven software in Akka and in addition take on key matters like the right way to version immutable messages and area types, and observe styles like occasion Sourcing, and CQRS. The publication concludes with functional recommendation on the way to track and customise a method equipped with Akka.
Read or Download Akka in Action PDF
Best enterprise applications books
This ebook explains the fundamentals of S-PLUS in a transparent variety at a degree compatible for individuals with little computing or statistical wisdom. not like the S-PLUS manuals, it's not complete, yet as an alternative introduces an important rules of S-PLUS by using many examples. every one bankruptcy additionally features a choice of workouts which are observed by way of totally worked-out ideas and certain reviews.
* Written by means of a professional with greater than 30 years of expertise in each position within the IT undefined, this publication confronts improvement method difficulties head-on, and it tackles the serious steps that has to be taken to make sure luck* Dives into subject matters similar to making a choice on possibilities, making plans for achievement, construction a suitable enterprise version, assembling a staff, constructing software program, coping with groups, and effectively advertising and promoting the product* The ebook fills a void within the present industry, and is a perfect learn for all IT pros
With the arrival of net 2. zero, e-learning has the capability to develop into way more own, social, and versatile. Collective Intelligence and E-Learning 2. zero: Implications of Web-Based groups and Networking offers a beneficial connection with the newest developments within the zone of academic expertise and e-learning.
- Microsoft Office Word 2007 QuickSteps
- Monitoring with Opsview
- Office 2013 eLearning Kit For Dummies
- SharePoint 2010 Business Intelligence 24-Hour Trainer
- E-Business Issues, Challenges and Opportunities for SMEs: Driving Competitiveness
Additional resources for Akka in Action
The option that is of course closest to actually running your code in production is the multi-threaded style testing with the TestKit class. We will focus more on the multi-threaded approach to testing, since this can show problems with the code that will not be apparent in a single-threaded environment. (You probably will not be surprised that we also prefer a classical unit testing approach over mocking). Next, we'll cover what needs to be done to get ready to start writing tests (setup). Then, we'll go into testing with messages, and will see some of our first working examples.
Com> 37 case class TicketRequest(event:String) case object SoldOut case class Tickets(tickets:List[Ticket]) case object BuyTicket case class Ticket(event:String, nr:Int) Message to create an event Message for requesting the state of all events Response message that contains current status of all events Signal event to indicate an event was created Request for a ticket for a particular event Signal event that the event is sold out New tickets for an Event, created by BoxOffice Message to buy a ticket from the TicketSeller The numbered ticket to an event As is typical of REST apps, we have an interface that revolves around the lifecycles of the core entities: Events and Tickets.
First we will test the silent actor in a single-threaded environment. We've included the TestKit already since we are also going to test if everything works well in a multi-threaded environment a bit later, which is not necessary if you only use the TestActorRef . Below we have defined an Actor that does nothing, and will always fail the tests: ©Manning Publications Co. We welcome reader comments about anything in the manuscript - other than typos and other simple mistakes. These will be cleaned up during production of the book by copyeditors and proofreaders.