tysonnorris commented on issue #2245: new ContainerPool aggressively restarts containers under load URL: https://github.com/apache/incubator-openwhisk/issues/2245#issuecomment-301640278 One note - with #2246 , for a load of: * varied actions OR * varied invocation namespaces the expected behavior is: Once the pool is maxed out, additional activations with either different action OR different invocation namespace will be queued until are containers in Free state This still leaves the potential for "hogging the container pool" by specific actions+invocation namespaces. To better handle that, some options to add may be: * track the number of requeues a Run message goes through via ContainerPool.receive * log data on requeue metrics (are internal metrics available in other mechanisms? jmx, etc?) * limit the number of same-action( and same user) Runs a ContainerProxy may process IFF there are requeues occurring for other Runs that have different actions/users. This would increase container "thrashing", but would prevent low traffic actions from being starved while being submitted alongside higher traffic actions. Any thresholds used should be tunable, via whisk properties. ---------------------------------------------------------------- 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: [email protected]
With regards, Apache Git Services
