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

Task run heartbeats refactor #158

Merged
merged 4 commits into from
Dec 11, 2020
Merged

Task run heartbeats refactor #158

merged 4 commits into from
Dec 11, 2020

Conversation

cicdw
Copy link
Member

@cicdw cicdw commented Dec 11, 2020

Summary

This PR updates the zombie killer to rely on flow run heartbeats instead of individual task run heartbeats; we've found that task run heartbeat processes can be brittle and cause resource contention issues when working with thousands of parallel runs. In addition, if the Flow Run process dies then the task runs it submits also die, so this change should not affect behavior.

Importance

Performance improvement!

Checklist

This PR:

  • adds new tests (if appropriate)
  • adds a change file in the changes/ directory (if appropriate)

@cicdw cicdw requested a review from jlowin December 11, 2020 04:05
@cicdw cicdw requested a review from zanieb as a code owner December 11, 2020 04:05
setup.py Outdated Show resolved Hide resolved
@cicdw cicdw merged commit 22a97d4 into master Dec 11, 2020
@cicdw cicdw deleted the task-run-heartbeats branch December 11, 2020 22:27
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

Successfully merging this pull request may close these issues.

2 participants