apache/openwhisk

provide a run-once mode that disables container reuse

Aperta

#3896 aperta il 24 lug 2018

 (1 commento) (0 reazioni) (0 assegnatari)Scala (1177 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (6777 stelle)
Metriche merge PR
 (Merge medio 17h 31m) (3 PR mergiate in 30 g)

Descrizione

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.

Guida contributor