Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was 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

@rphmeier

Description

@rphmeier

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:

async fn query_live_candidates<Context>(
.

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.

Metadata

Metadata

Assignees

Labels

I10-optimisationAn enhancement to provide better overall performance in terms of time-to-completion for a task.T5-parachains_protocolThis PR/Issue is related to Parachains features and protocol changes.

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions