fission / fission-workflows

Workflows for Fission: Fast, reliable and lightweight function composition for serverless functions
Apache License 2.0
371 stars 42 forks source link

Add prewarm functionality to Fission fnenv #108

Closed erwinvaneyk closed 6 years ago

erwinvaneyk commented 6 years ago

This change adds the Notifier interface to the fnenv component, which allows notifying of function runtime environments of an expected/future function execution. This will allow the fnenv to use this information/notification to (optionally) optimize the execution of the function by, for example, already provisioning resources ahead of time.

Additionally this also adds a small initial validate command to the wfcli tool. The idea behind this is that users can find errors in their definitions before submitting the workflows. This should decrease the feedback loop in the development workflow.