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

[State sync engine] Implement prioritization in bitswap #1454

Closed
synzhu opened this issue Oct 6, 2021 · 1 comment · Fixed by #1775
Closed

[State sync engine] Implement prioritization in bitswap #1454

synzhu opened this issue Oct 6, 2021 · 1 comment · Fixed by #1775
Assignees
Labels

Comments

@synzhu
Copy link
Contributor

synzhu commented Oct 6, 2021

This issue is tracked in the Bitswap repo here: ipfs/boxo#82

We would like to preserve the bandwidth of Execution Nodes, which are the only creators of new data. One way to do this is to implement some mechanism in bitswap for how we want to prioritize responding to requests for blocks.

Execution nodes should prioritize responding to requests for more recent blocks, to make sure that enough AN's download these blocks

@synzhu synzhu self-assigned this Oct 6, 2021
@synzhu
Copy link
Contributor Author

synzhu commented Oct 28, 2021

This is implemented here: ipfs/go-bitswap#535

All that's left to do is to implement the new Option in our usage of bitswap for execution nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants