apache/openwhisk

prefetch container optimization

Aberta

#2.359 aberto em 12 de jun. de 2017

 (2 comentários) (2 reações) (0 responsável)Scala (1.177 forks)batch import
help wantedperformance

Métricas do repositório

Stars
 (6.777 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador