apache/openwhisk

prefetch container optimization

Open

#2 359 ouverte le 12 juin 2017

Voir sur GitHub
 (2 commentaires) (2 réactions) (0 assignés)Scala (1 177 forks)batch import
help wantedperformance

Métriques du dépôt

Stars
 (6 777 stars)
Métriques de merge PR
 (Merge moyen 17h 31m) (3 PRs mergées en 30 j)

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.

Guide contributeur