apache/openwhisk

prefetch container optimization

Open

#2,359 opened on 2017年6月12日

GitHub で見る
 (2 comments) (2 reactions) (0 assignees)Scala (1,177 forks)batch import
help wantedperformance

Repository metrics

Stars
 (6,777 stars)
PR merge metrics
 (平均マージ 17h 31m) (30d で 3 merged PRs)

説明

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.

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