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

Why does staggered execution of functions cause cold starts? #4925

Closed
wangxw001 opened this issue Jun 19, 2020 · 2 comments
Closed

Why does staggered execution of functions cause cold starts? #4925

wangxw001 opened this issue Jun 19, 2020 · 2 comments

Comments

@wangxw001
Copy link

I deployed OpenWhisk on a single host. When I call both functions continuously at the same time, cold start occurs. So why does staggered execution of functions cause cold starts?
image

@style95
Copy link
Member

style95 commented Jun 19, 2020

It depends on your local configuration.
How many memory did you configure for an invoker and in which interval did you invoke each action?

@rabbah
Copy link
Member

rabbah commented Apr 11, 2021

The current heuristics are such that as you saturate some worker nodes, you get new worker nodes, which leads to some cold starts. To answer this question with more detail, you'd need to share your configuration and test setup.

@rabbah rabbah closed this as completed Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants