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

Disables server-side PENDING task rescheduling by default #14128

Merged
merged 3 commits into from
Jun 18, 2024

Conversation

chrisguidry
Copy link
Collaborator

During my load testing, it became clear that this feature won't work as-is on
such a short timescale. Because tasks remain PENDING until all of their
dependencies are resolved, it's possible that a long period of time may elapse
before those PENDING tasks can actually move on to RUNNING, and in a system
with deep dependencies, this can put the task workers in a position where they
can't keep up and are constantly getting redelivered tasks.

Rather than defaulting this to on, we should let the user opt-in to the behavior
for now, based on their workload.

During my load testing, it became clear that this feature won't work as-is on
such a short timescale.  Because tasks remain `PENDING` until all of their
dependencies are resolved, it's possible that a long period of time may elapse
before those `PENDING` tasks can actually move on to `RUNNING`, and in a system
with deep dependencies, this can put the task workers in a position where they
can't keep up and are constantly getting redelivered tasks.

Rather than defaulting this to on, we should let the user opt-in to the behavior
for now, based on their workload.
@chrisguidry chrisguidry requested review from zangell44 and a team as code owners June 18, 2024 20:21
@chrisguidry chrisguidry requested a review from a team as a code owner June 18, 2024 20:32
@chrisguidry chrisguidry merged commit 35df316 into main Jun 18, 2024
26 checks passed
@chrisguidry chrisguidry deleted the disable-pending-task-rescheduling-by-default branch June 18, 2024 20:58
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