apache / apache/openwhisk

[New Scheduler] Scheduling Decision Maker Does Not Include Paused Containers In Count

Open
#5,343 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

The scheduling decision maker receives `QueueSnapshot` which passes in `existingContainerNumByNamespace` value of the `ContainerCounter` class. However this class only watches for live containers in etcd under the `whisk/namespace/${namespace}` prefix, but not containers that are marked `warmed` under `whisk/warmed/${namespace}` or otherwise known as paused in docker. It's common for action containers to go paused, this can lead to namespace overprovisioning up to double beyond the namespace concurrency limit if a burst of traffic comes when namespace limit is reached and all containers are paused, and suboptimal decision making for over creating containers. @style95

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.