Switch to ConistentHashingRouter in cluster sample
This commit is contained in:
parent
bc34adf624
commit
c7b966b4e7
3 changed files with 24 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue