apache/openwhisk

prefetch container optimization

Open

#2,359 建立於 2017年6月12日

在 GitHub 查看
 (2 留言) (2 反應) (0 負責人)Scala (6,777 star) (1,177 fork)batch import
help wantedperformance

描述

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.

貢獻者指南