apache/openwhisk

prefetch container optimization

Aperta

#2359 aperta il 12 giu 2017

 (2 commenti) (2 reazioni) (0 assegnatari)Scala (1177 fork)batch import
help wantedperformance

Metriche repository

Star
 (6777 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

To reduce cold start overhead -- if we have a good reason to believe that an action will be invoked soon -- then send a message to /init a container. I think this could be done by adding "init" messages to the kafka protocol. When receiving an "init" message, the invoker would /init a container if none is present already.

The obvious use case is sequences -- when a sequence is run, "init" all the actions in the sequence immediately.

Guida contributor