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

Smarter transaction scheduler #3760

Closed
kostko opened this issue Mar 6, 2021 · 0 comments · Fixed by #3965
Closed

Smarter transaction scheduler #3760

kostko opened this issue Mar 6, 2021 · 0 comments · Fixed by #3965
Assignees
Labels
c:runtime/compute Category: runtime compute worker c:runtime/scheduler Category: runtime txn scheduler

Comments

@kostko
Copy link
Member

kostko commented Mar 6, 2021

Runtimes can provide metadata to the scheduler via the Meta field in the CheckTx response.

It would be useful to standardize a few metadata items that the runtimes can emit and the scheduler understands while scheduling batches:

  • Priority.
  • Custom "weights" where for each "weight type" the runtime can define a maximum block weight. This could be gas or emitted runtime messages. The maximums could either be emitted by the runtime as part of the last ExecuteTx response or queried explicitly by the host via a new call (per round).
@kostko kostko added c:runtime/compute Category: runtime compute worker c:runtime/scheduler Category: runtime txn scheduler labels Mar 6, 2021
@ptrus ptrus self-assigned this May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:runtime/compute Category: runtime compute worker c:runtime/scheduler Category: runtime txn scheduler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants