This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Availability Distribution: Consider occupied cores from last k blocks within same session #2513
Labels
I10-optimisation
An enhancement to provide better overall performance in terms of time-to-completion for a task.
T5-parachains_protocol
This PR/Issue is related to Parachains features and protocol changes.
Milestone
A Before and after of availability-recovery metrics on Kusama would be really interesting (number of
NoSuchChunk
):https://grafana.parity-mgmt.parity.io/goto/sjkh8Upnz?orgId=1 .. currently I see 3-5
NoSuchChunk
per second.Discussion here: #2423 (comment)
This was the previous behavior before using request/response and should be reinstated. A permalink to the previous implementation can be found here:
polkadot/node/network/availability-distribution/src/lib.rs
Line 952 in c66049d
It is not crucial to the functioning of the network but is useful for maximizing availability and increasing throughput by increasing likelihood of peers having chunks later on.
It is important to only consider blocks within the same session, and this should recover gracefully from runtime API errors as historical state may be (but is unlikely to be) pruned.
The text was updated successfully, but these errors were encountered: