set_piece_deadline() vs sequential_download #6272
Answered
by
AllSeeingEyeTolledEweSew
AllSeeingEyeTolledEweSew
asked this question in
Q&A
-
From my understanding:
Is my understanding correct? If so, is there guidance on when/how to use each strategy, or combine it with others? |
Beta Was this translation helpful? Give feedback.
Answered by
AllSeeingEyeTolledEweSew
Jun 17, 2021
Replies: 1 comment 3 replies
-
Having read through #4408, I'll attempt to answer my own question. Putting them both in terms of managing peer request queues:
Is this a good description? |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
AllSeeingEyeTolledEweSew
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Having read through #4408, I'll attempt to answer my own question.
Putting them both in terms of managing peer request queues:
sequential_download
: every time a new slot opens in a request queue, we just request the next piece in the sequenceset_piece_deadline()
: does more work to ensure critical pieces are in the "optimal" queue positions, judged across all request queuessequential_download