proposal: have 2nd, 3rd attempt for non-starter = timeout runs
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Review issue #897 and pScheduler’s handling of newly received tasks, coordination timeouts, and non-starter runs. The work would first need an agreed retry policy, including postponed second or third attempts and any load checks; it is done when that behavior is specified and implemented with coverage for the proposed conditions.
Written by the indexing model from the issue text.
Description
Here are some thoughts on my side as suggestion to improve the management of 'non-starter' runs on systems under heavy load.
Since I know from you pScheduler is aware of the reasons for each 'non-starter', which I presume includes time-out outcomes, I was thinking, that at least in the cases where both conditions apply:
- The pscheduler task had just been received.
- Pscheduler times out on runs coordination attempt
IMHO It would then be more reasonable to have pscheduler make a second attempt for these runs.
In special cases even a third attempt would be acceptable, if the task is of type background or normal.
Of course these attempts should be postponed in time and perhaps (for pS 4.6 ) pscheduler can check even the system’s load ( ex. load average for last 5min) to allow itself to reiterate the “non-starter” runs, which had timed-out.
This suggestion comes in relation to https://github.com/perfsonar/pscheduler/issues/897
- Dominant language
- Python
- Stars
- 60
- Forks
- 38
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from perfsonar/pscheduler
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
perfsonar/pscheduler#1668 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 42/100
perfsonar/pscheduler#1666 ·
-
enhancement
perfsonar/pscheduler#1664 · 1 comment · 1 assignee ·
-
easy
Difficulty 4/5 3-5 days Newbie friendliness 55/100
perfsonar/pscheduler#1658 ·
-
easy enhancement
Difficulty 3/5 1-2 days Newbie friendliness 50/100
perfsonar/pscheduler#1648 ·
All issues in perfsonar/pscheduler
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100