[bittorrent] Piece downloading strategy

Alan McGovern alan.mcgovern at gmail.com
Sun Aug 5 17:42:31 EDT 2007


I want to reword the piece download strategy section to highlight the
following:

1) A linear strategy is not good. Downloading piece 1 first, piece 2 second
etc is bad.
2) A completely random strategy is far superior to this.
3) A pseudo-random rarest-first strategy is 'best'. When calculating the
rarest pieces, you should endevour to make sure that your algorithm won't
choose the same 'rarest' piece at the same time as other clients would -
this is already stated.

Anything else that should be added/mentioned? Anyone want to give a
psuedo-code algorithm?

Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/bittorrent/attachments/20070805/9b7998ef/attachment.html 


More information about the BitTorrent mailing list