apache/openwhisk

prefetch container optimization

Open

#2359 aperta il 12 giu 2017

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

Metriche repository

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

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