EOSIO / EOSIO/Documentation

Is Subjective Best Effort Scheduling too subjective

Open
#70 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2k
Forks
860
PR merge metrics
No merged PRs in 30d

Description

This issue target [Subjective Best Effort Scheduling](https://github.com/EOSIO/Documentation/blob/master/TechnicalWhitePaper.md#subjective-best-effort-scheduling) part of the [Whitepaper](https://github.com/EOSIO/Documentation/blob/master/TechnicalWhitePaper.md)

How exactly will Block Producers implement their own rate-limiting Algorithm in practice? Will they have to come out with their own solution for that?

Since smart contracts will be deployed once and excecuted many times can each executed wasm instructions be indexed into different bandwidth class based on preliminary test on each smart contract to be deployed on the main blockchain? One example solution is by preprocessed any smartcontract to be deployed on the blockchain by running said smartcontract into a testnet to see its resource consumption which then can be assigned a resource-consumption classifier once deployed into the main blockchain.

So the EOSIO software only needs to compute N X M to get a max transactions allowed per each block. Where N= number of transaction, M=[resource classifier1, resource classifier 2,...], X is standard matrix operation. Larger than just to compute N number of transaction but negligible enough in performance hit on the blockchain speed in the grand scheme of things.

Just one bare example of course. Criticism, help in fleshing this idea will be welcomed.

Hopefully this will lead to less subjectivity on the hands of Block Producers, which subjectivity can lead to DOS/ Favouritism by BPs.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.