=clu #13802 Introduce max-total-nr-of-instances for cluster aware routers

This commit is contained in:
Patrik Nordwall 2015-08-20 15:13:35 +02:00
parent 12bee9433e
commit bc13e1b4c2
23 changed files with 77 additions and 41 deletions

View file

@ -22,7 +22,6 @@ akka.actor.deployment {
# metrics-selector = cpu
metrics-selector = mix
#
nr-of-instances = 100
routees.paths = ["/user/factorialBackend"]
cluster {
enabled = on

View file

@ -4,7 +4,6 @@ include "application"
akka.actor.deployment {
/statsService/workerRouter {
router = consistent-hashing-group
nr-of-instances = 100
routees.paths = ["/user/statsWorker"]
cluster {
enabled = on

View file

@ -4,7 +4,6 @@ include "application"
akka.actor.deployment {
/statsService/singleton/workerRouter {
router = consistent-hashing-pool
nr-of-instances = 100
cluster {
enabled = on
max-nr-of-instances-per-node = 3

View file

@ -56,7 +56,6 @@ object StatsSampleSingleMasterSpecConfig extends MultiNodeConfig {
akka.actor.deployment {
/statsService/singleton/workerRouter {
router = consistent-hashing-pool
nr-of-instances = 100
cluster {
enabled = on
max-nr-of-instances-per-node = 3

View file

@ -51,7 +51,6 @@ object StatsSampleSpecConfig extends MultiNodeConfig {
akka.actor.deployment {
/statsService/workerRouter {
router = consistent-hashing-group
nr-of-instances = 100
routees.paths = ["/user/statsWorker"]
cluster {
enabled = on