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

Improve heartbeat so it doesn't lie #130

Open
jadudm opened this issue Feb 12, 2025 · 0 comments
Open

Improve heartbeat so it doesn't lie #130

jadudm opened this issue Feb 12, 2025 · 0 comments

Comments

@jadudm
Copy link
Contributor

jadudm commented Feb 12, 2025

The heartbeat process is running in a Gofunc. As result, it is possible for a service to report it is healthy (in the heartbeat thread) when really, the main thread is unhealthy.

We need Work in each service to periodically update a variable or value, and use that as a flag for the heartbeat process, so we know when the last time we productively did work was.

This will tell us, for example, if we ever encounter a situation where all workers have died, etc.

@jadudm jadudm added this to jemison Feb 12, 2025
@github-project-automation github-project-automation bot moved this to triage in jemison Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: triage
Development

No branches or pull requests

1 participant