apache/openwhisk
Ver no GitHubprovide a run-once mode that disables container reuse
Open
#3.896 aberto em 24 de jul. de 2018
enhancementhelp wanted
Métricas do repositório
- Stars
- (6.777 stars)
- Métricas de merge de PR
- (Mesclagem média 17h 31m) (3 fundiu PRs em 30d)
Description
Today we reuse containers for performance reasons. There are many advantages however to run-once that disables container reuse. Just as @tysonnorris is adding support for intra-container concurrency via an opt-in annotation, we can do the same to prevent container reuse for an action annotated accordingly to create a new container every time. This has the nice property of ensuring that every function starts from the same pristine environment.