February 2012
3 posts
1 tag
A sample application showcasing play-mini and Akka...
In Akka 2.0 we have decided to replace the Mist based HTTP module with a module called play-mini. With play-mini it’s possible not only to create REST based API in an easy fashion but also to use the power of the Play framework. In this post we will describe the steps needed to build a simple REST service and have it interact with actors in an ActorSystem. It will also show the power of...
Feb 19th
6 notes
2 tags
Why no mailboxSize in Akka 2 ?
Akka 1.x exposed a method to query the mailbox size, which was available both from inside an actor and from outside. We removed this method in 2.0 for a number of reasons, and since this topic came up on the mailing list multiple times already, here is my attempt at making the rationale accessible to a broader audience and disburden the akka-user group. What are the problems with querying the...
Feb 16th
4 notes
3 tags
Scalability of Fork Join Pool
Akka 2.0 message passing throughput scales way better on multi-core hardware than in previous versions, thanks to the new fork join executor developed by Doug Lea. One micro benchmark illustrates a 1100% increase in throughput! The new 48 core server had arrived and we were excited to run the benchmarks on the new hardware, but it was sad to see the initial results. It didn’t scale! What...
Feb 14th
5 notes