vvraskin commented on issue #2856: How do you limit the concurrent activations 
with multiple Controller?
URL: 
https://github.com/apache/incubator-openwhisk/issues/2856#issuecomment-336924888
 
 
   Hi @hykych! 
   
   basically there are two ways you deploy controllers: active-passive (one 
controller is active, another one becomes active if the first one fails), 
active-active (requests are dispatched for multiple controllers 
simultaneously). I think you mentioned the second case. 
   So for that we use akka cluster to share the number of activations per 
namespace and activations per invoker across cluster members. You could look it 
up here:
   
https://github.com/apache/incubator-openwhisk/blob/master/core/controller/src/main/scala/whisk/core/loadBalancer/DistributedLoadBalancerData.scala
   
   and here is where we enable this class:
   
https://github.com/apache/incubator-openwhisk/blob/master/core/controller/src/main/scala/whisk/core/loadBalancer/LoadBalancerService.scala#L105
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to