Open PolinaKiporenko opened 4 months ago
@dmytrotkk please add document once feature will be implemented
Default: 1/3 per each(contract storage, file storage, consensus DB)
Total amount of space: 1000 Default: 334, 333, 333
During SKALE chain creation:
Sum of partitions should 1000.
Consensus DB and contract storage are important storages which should not be allocated to zero. But file storage - is not a standard EVM storage - it can be allocated to zero.
Partition represent percentile allocated to specific storage in the total SKALE chain storage
After discussion on 22 May 2024
Decided to make some standard types of partitions with a reason that it hard to maintain and calculate the exact amount of bytes on all nodes and potential accuracy problem after node rotations.
So similar to other computational power and storage providers like AWS, Azure and etc propose options of partitions.
Here are a list of options which should be available:
Notes from 7/30 Discussion
Proposed Top Ratios Keys: FS = FileStorage, CS = Contract Storage, CD = Consensus DB
Why?
@TheGreatAxios , agreed with you. Let’s start with these 5 types of the disk partition
- Will require indexer node. Storing data in filestorage db == x2 in blockchain db, in case if they need 0 block and other earlier data.
This types of storage allocation do not make much sence for indexer node since it has no limits for consensus db.
@badrogger You don't get the point. Skale node has limits. In case if we do not setup indexer or archive node from start, we can lost blocks history.
It would be beneficial to have the ability to allocate and distribute different amounts of resources, such as configuring the resource allocation for the state parameter.