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 execution of jobs and commands #7059

Closed
hubertp opened this issue Jun 19, 2023 · 1 comment
Closed

Improve execution of jobs and commands #7059

hubertp opened this issue Jun 19, 2023 · 1 comment
Assignees

Comments

@hubertp
Copy link
Collaborator

hubertp commented Jun 19, 2023

This is a placeholder ticket for a new design for executing jobs and commands. It comes as part of the investigation into #7005 which discovered several shortcomings in the current implementation. Namely:

  1. Locks are used extensively to ensure the corrected of the execution
  2. Jobs and commands are two ways of serving user requests. The former often does not guarantee timely response, leading to timeouts and unnecessary confusion

In #7005 we patched the underlying problem by sending replies early and take into account jobs that may still be in-progress while other requests come around. But there is an inherent problem between long-running jobs (e.g. compilation) and requests that should be served quickly, exacerbated by the extensive locking logic.

@jdunkerley
Copy link
Member

Closing this one for now.

@jdunkerley jdunkerley closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2023
@github-project-automation github-project-automation bot moved this from 📤 Backlog to 🟢 Accepted in Issues Board Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants