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

Use back-off algorithm to perform health check on function instance #27

Open
thomasgouveia opened this issue May 14, 2023 · 0 comments
Open

Comments

@thomasgouveia
Copy link
Member

What needs to be done ?

We should consider using an implementation of the back-off algorithm in order to determine the readiness of a function instance.

See : https://github.com/cenkalti/backoff

Why it needs to be done ?

Depending on the latency of the network and the function image size (e.g: Node, Python), our current naive implementation of the health check can exit without totally waiting the instance. This is an issue, as the CLI will receive a blank response from the back end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 💬 In Discuss
Development

No branches or pull requests

1 participant