oasisprotocol / oasisprotocol/oasis-core
Add PID control feedback to adaptive scheduler queue
Open
@bennetyee is already working on this.
Since Sep 4, 2018.
c:registry
p:2
- Dominant language
- Go
- Stars
- 369
- Forks
- 151
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 6
Description
The current scheduler's adaptive queue size has no hysteresis and is probably more easily attacked as a result.
Details
Adaptive queue size is needed to avoid DOS transactions that makes long queues of deferred transactions that must be re-scanned over and over again. We need to evaluate using a little more control theory to ensure that we do not overreact to queue size changes, nor react too slowly.
Acceptance Criteria
- Simulator-based evaluation shows that the queue-size adjustment keep scheduler execution times low. (This needs to be improved to be more objective.)
Contributor guide
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.
Assessment
This issue has not been assessed yet.