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

[ipfs/go-bitswap] Allow configurable prioritization of requests #82

Open
synzhu opened this issue Oct 5, 2021 · 4 comments
Open

[ipfs/go-bitswap] Allow configurable prioritization of requests #82

synzhu opened this issue Oct 5, 2021 · 4 comments
Labels
need/triage Needs initial labeling and prioritization

Comments

@synzhu
Copy link
Contributor

synzhu commented Oct 5, 2021

Can we allow the user customize the behavior for how we prioritize WANTHAVE or WANTBLOCK requests?

For example:

  • we may not want to respond to requests for a certain block even though we have that block
  • we may want to implement some sort of prioritization for requests, e.g always finish responding to all requests for block 42 before responding to any requests for block 41
@synzhu synzhu added the need/triage Needs initial labeling and prioritization label Oct 5, 2021
@welcome
Copy link

welcome bot commented Oct 5, 2021

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@Stebalien
Copy link
Member

@aschmahmann
Copy link
Contributor

@smnzhu how much of this issue is remaining given the already merged PRs?

@susarlanikhilesh
Copy link
Contributor

susarlanikhilesh commented Feb 7, 2022

I need something similar. Like I don't want to request a node even if it has data. I know it's peer ID, I want to avoid pulling blocks from that peer. Where exactly you think I should looks for. I need to stay swarm connected to that peer. So, want_have sends to all the peers connected. But I want to avoid it for that one single peer
Thank you

@Jorropo Jorropo changed the title Allow configurable prioritization of requests [ipfs/go-bitswap] Allow configurable prioritization of requests Jan 27, 2023
@welcome
Copy link

welcome bot commented Jan 27, 2023

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@Jorropo Jorropo transferred this issue from ipfs/go-bitswap Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

4 participants