apache/openwhisk

prefetch container optimization

Open

#2.359 geöffnet am 12. Juni 2017

Auf GitHub ansehen
 (2 Kommentare) (2 Reaktionen) (0 zugewiesene Personen)Scala (1.177 Forks)batch import
help wantedperformance

Repository-Metriken

Stars
 (6.777 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17h 31m) (3 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide