February 2012
3 posts
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...
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...
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...
January 2012
1 post
2 tags
Akka 2.0 Remoting with Java
There have been a lot of requests for a Java example of how to use the remoting capabilities in Akka 2.0 and now there is one. It can be found here:
https://github.com/jboner/akka/tree/master/akka-samples/akka-sample-remote
Some interesting highlights are:
Looking up a remote actor on a remote node:
Creating an actor on a remote node:
As you can see there isn’t much to the code itself...
December 2011
5 posts
1 tag
Benchmark: Akka vs Erlang
Franz Bettag have written up a small post about a benchmark between Akka and Erlang.
Interesting results. On his hardware and specific benchmark Erlang R14B04 did 1 million messages per second while Akka 2.0-SNAPSHOT did 2.1 million per second.
Read more here: http://uberblo.gs/2011/12/scala-akka-and-erlang-actor-benchmarks
…and we still have a lot more performance to squeeze out of Akka.
2 tags
Location Transparency: Remoting in Akka 2.0
The remoting capabilities of Akka 2.0 are really powerful. Something that not has been as powerful is the documentation of the Akka remoting. We are constantly striving on improving it and this blog post will, hopefully, shed some light on the topic. The remoting contains functionality not only to lookup a remote actor and send messages to it but also to deploy actors on remote nodes. These two...
2 tags
Running Akka on ARM7 with 100 requests per second
@honzam399 writes:
“#Akka on ARM7 board, processing 100 simple REST requests/s at 5 V, 500 mA!”
1 tag
1 tag
Akka Team Blog Is Live
Stay tuned for more soon… :-P