oasisprotocol / oasisprotocol/oasis-core

Add PID control feedback to adaptive scheduler queue

Open
#879 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.