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

Reimagine consensus scheduling #59

Open
mattcollier opened this issue Mar 20, 2019 · 0 comments
Open

Reimagine consensus scheduling #59

mattcollier opened this issue Mar 20, 2019 · 0 comments

Comments

@mattcollier
Copy link
Contributor

mattcollier commented Mar 20, 2019

@dlongley says:

In total, I think what we want is:

One scheduler per process.
The scheduler runs whenever a ledger node's consensus plugin says it needs a consensus worker to run.
The scheduler runs a consensus worker for the ledger node that has been in the queue the longest -- and waits for it to complete.
The scheduler keeps running until there are no more requests for consensus work to process. It gets kicked off again when some consensus plugin says it needs attention again.

See comments on this PR for further details: #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant