You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/01/10 00:53:06 UTC
[GitHub] [openwhisk] tysonnorris commented on issue #4725: Reactive prewarm
pool
tysonnorris commented on issue #4725: Reactive prewarm pool
URL: https://github.com/apache/openwhisk/issues/4725#issuecomment-572824267
In a simple initial version this might be something like:
* add a startTime and (configurable) TTL to prewarm containers in ContainerPool
* add a scheduled task to periodically delete unused prewarms that have passed TTL expiration
* add a configurable "prewarm scaleup step" where if a cold start container matches a prewarm config AND no prewarm was available AND the prewarm count for that config is below the runtime manifest config then launch up to "prewarm scaleup step" prewarms to replenish prewarms in case load has increased
In addition, startup behavior may be worth changing as well (to avoid starting a bunch of prewarms, just to delete them on TTL), by changing the manifest to use "initCount" and "maxCount" instead of "count" - to set an invoker startup config, and a cap on number of prewarm containers that are allowed over time.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services