Skip to content

Resilient Workers #11

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

Open
unexge opened this issue Sep 24, 2021 · 0 comments
Open

Resilient Workers #11

unexge opened this issue Sep 24, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@unexge
Copy link
Contributor

unexge commented Sep 24, 2021

Currently we don't have any way to detect or recover from Worker failures. We should be able to detect if a Worker is failed (we might check status of the process or use some kind of health checking) and if that's the case, we should either indicate that Worker is failed to the Pool and then the Pool can replace the Worker with a new one or we can recover from the failure silently in the Worker.

Relevant modules:
Worker: https://github.com/masomo/coyote/blob/main/src/worker/worker.rs
Pool: https://github.com/masomo/coyote/blob/main/src/worker/pool.rs, https://github.com/masomo/coyote/blob/main/src/worker/pool/static_.rs

@unexge unexge added the enhancement New feature or request label Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant