apache/openwhisk

provide a run-once mode that disables container reuse

Open

#3,896 创建于 2018年7月24日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Scala (6,777 star) (1,177 fork)batch import
enhancementhelp wanted

描述

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.

贡献者指南