Repository navigation
Adjust statement store allowance numbers - #235
Conversation
Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
…wance Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
|
do you have some napkin math or test code? AFAIK we target 10_000 users. |
With a 1 day grace period (instead of the 2 we have on paseo today but I don't want to rush that change in just yet), we are at about 3.5 million statements in peak capacity, below the default 4 million limit. About data size, we sit at roughly 54 GiB of data, which we believe is within the bounds of what a node running reference hardware can do (in a relatively small SSS-enabled collator set, since large sets degrade performance because of statement gossip mechanics). The default data limit of the statement store, which is a command line parameter and I think its default is 2 GiB, needs to be increased above this peak value, otherwise older statements will start getting evicted. This is all on peak capacity. In an organic setting, it is very unlikely that we will ever see peak capacity but rather a fraction of it. |
…wances Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
|
This pull request has been mentioned on Polkadot Forum. There might be relevant details there: https://forum.polkadot.network/t/runtime-release-notification-for-v2-6-0-20-11-2026/19606/1 |
Closes #194
Changes
This PR adjusts the statement store allowances in
pallet-resourcesto match the current limits of the infrastructure. The initial ask in the issue was an increase in the slots up to 50, which would have put too much strain on both the available block space as well as the statement store itself. After decreasing the data allowance significantly, and in combination with #227 and #234, lite people can now get 50 slots for both theAccountsApiAllowanceas well as theNotificationAllowance.These changes should be brought to other runtimes consuming
pallet-resourcesas well`.