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

PieceGetter::get_pieces() in FarmerPieceGetter #3135

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

nazar-pc
Copy link
Member

This implements a new method introduced in #3132 for FarmerPieceGetter.

Next I'll be adding get_pieces API to piece caches for higher efficiency, refactoring cluster API to use stream requests for pieces for higher performance and then implementing PieceGetter::get_pieces() for ClusterPieceGetter.

Still, everything should continue to work in this PR and regular farming should be able to take advantage of faster piece retrieval already.

Code contributor checklist:

Copy link
Member

@teor2345 teor2345 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good!

@nazar-pc nazar-pc added this pull request to the merge queue Oct 17, 2024
Merged via the queue into main with commit 1541ff2 Oct 17, 2024
8 checks passed
@nazar-pc nazar-pc deleted the get_pieces-in-farmer-piece-getter branch October 17, 2024 05:36
dariolina pushed a commit that referenced this pull request Oct 17, 2024
…tter

`PieceGetter::get_pieces()` in `FarmerPieceGetter`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants