apache/openwhisk

prefetch container optimization

オープン

#2,359 opened on 2017/06/12

 (2 件のコメント) (2 件のリアクション) (0 人の担当者)Scala (1,177 件のフォーク)batch import
help wantedperformance

Repository metrics

Stars
 (6,777 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド