Improve accuracy of Task.withTimeout()
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 268
- PR merge metrics
- No merged PRs in 30d
Description
Currently the timeout action is executed as a timer task with the highest priority. It means that there is some delay between timer triggering and action being executed. In extreme cases the delay can be significant.
This task is to investigate different approach of executing timeouts that does not involve scheduling task and a plan's queue.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start from Task.withTimeout() and trace how the timeout action is scheduled as a high-priority timer task and enters a plan's queue. Compare alternative timeout execution approaches, then document a concrete plan that avoids the stated scheduling delay and queue involvement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100