Switch to ConistentHashingRouter in cluster sample

This commit is contained in:
Patrik Nordwall 2012-09-20 12:58:51 +02:00
parent bc34adf624
commit c7b966b4e7
3 changed files with 24 additions and 16 deletions

View file

@ -31,8 +31,7 @@ object StatsSampleSpec extends MultiNodeConfig {
#//#router-lookup-config
akka.actor.deployment {
/statsService/workerRouter {
# FIXME use consistent hashing instead
router = round-robin
router = consistent-hashing
nr-of-instances = 100
cluster {
enabled = on