Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea for minimizing cold start time for chains of functions. #4075

Open
juanestebanj opened this issue Oct 18, 2018 · 1 comment
Open

Idea for minimizing cold start time for chains of functions. #4075

juanestebanj opened this issue Oct 18, 2018 · 1 comment

Comments

@juanestebanj
Copy link

juanestebanj commented Oct 18, 2018

I have a feature request.

I read that you guys were open on suggestions about minimizing the time it takes a cold start for a chain of functions.

I thought of this idea:

  • One could have a very fast "warm up" function to an action that would "warm up" sleeping containers. That function would do no actual work and have an execution time less than 100 milliseconds. (Usually the smallest billable unit of cloud functions providers such as IBM Cloud).
  • All these functions would be called at the beginning of the chain of functions, for all containers involved in the chain.
  • So when the containers are called for actual work, there will be a higher probability for them to be already up.
  • One could configure this feature on or off depending on one's willingness to pay a little bit more to enhance the response times of chains of functions.

That "warm up" function might be provided automatically by OpenWhisk to all containers. For example, a small go function.

Thank you.

@rabbah
Copy link
Member

rabbah commented Oct 24, 2018

Thanks for the suggestion a and thoughts @juanestebanj. This is related/duplicate of #2359.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants