apache/openwhisk

prefetch container optimization

开放

#2,359 创建于 2017年6月12日

 (2 条评论) (2 个反应) (0 位负责人)Scala (1,177 个派生)batch import
help wantedperformance

仓库指标

星标
 (6,777 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南