Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schedule/Prioritise Content #1894

Open
saul-jb opened this issue Mar 22, 2023 · 1 comment
Open

Schedule/Prioritise Content #1894

saul-jb opened this issue Mar 22, 2023 · 1 comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature need/maintainers-input Needs input from the current maintainer(s)

Comments

@saul-jb
Copy link

saul-jb commented Mar 22, 2023

Describe the feature you are proposing

It would be useful to have more control on the priority of content a user might add to the cluster allowing them to choose what content is downloaded on the nodes first. This is similar to the item on the roadmap: Optimistic replication: allow cluster peers to decide what content they back rather than defining allocations., it would be great to allow cluster peers to choose priorities alongside the content the back.

An example of this would be adding 1TB of low value data to the cluster then adding 1GB of high value data later - one would like the high value data done first or at a faster rate before continuing on the 1TB workload.

Additional context

This would make the cluster more useful for applications that want to use the cluster daemon over the API but needs more find-grained control (dynamically adding and changing priorities).

@saul-jb saul-jb added the need/triage Needs initial labeling and prioritization label Mar 22, 2023
@hsanjuan
Copy link
Collaborator

There is a level of control that you can have with the priority_pin_max_age and priority_pin_max_retries options. Not exactly what you need, but they assure that if something hasn't managed to be pinned in while it will be deprioritized vs. new-arrivals.

The idea is mostly to deal with growing queues that include unretrievable content, so that this content doesn't not block progress on content that is indeed retrievable.

@hsanjuan hsanjuan added kind/enhancement A net-new feature or improvement to an existing feature need/maintainers-input Needs input from the current maintainer(s) and removed need/triage Needs initial labeling and prioritization labels May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement A net-new feature or improvement to an existing feature need/maintainers-input Needs input from the current maintainer(s)
Projects
None yet
Development

No branches or pull requests

2 participants