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

Design work for supporting resume API for drain mode #7673

Closed
soninaren opened this issue Sep 15, 2021 · 2 comments
Closed

Design work for supporting resume API for drain mode #7673

soninaren opened this issue Sep 15, 2021 · 2 comments
Assignees

Comments

@soninaren
Copy link
Member

soninaren commented Sep 15, 2021

When performing a scale-in operation on a function app, Antares infrastructure will put the function app in drain mode. This will effectively make it so that the function app would stop fetching new events. However this leads to another issue if we the function app needs to scale out again very quickly. At that point platform could chose a worker that is new, or a worker that is potentially still asleep causing the event queue to build up and leads to the function app assigned to workers that are forever asleep. This risk is particularly elevated for stamps that have limited capacity.

To address this issue we need an API that starts the worker that was previously put in drain mode, allowing it fetch new events.

@soninaren soninaren added this to the Functions Sprint 110 milestone Sep 15, 2021
@soninaren soninaren self-assigned this Sep 15, 2021
@fabiocav
Copy link
Member

Moving this to sprint 111.

/cc @liliankasem

@liliankasem
Copy link
Member

@ghost ghost locked as resolved and limited conversation to collaborators Nov 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants