[bittorrent] Introductory/endgame algorithms

Joris Guisson joris.guisson at gmail.com
Fri Sep 23 05:39:34 EDT 2005


KTorrent checks if the number of chunks left is smaller then the number of
chunks currently downloading and 20.

Joris,

On 9/23/05, Andreas Aardal Hanssen <bittorrent at andreas.hanssen.name> wrote:
>
> Hi, this is my initial post to this list so please bear with me.
>
> As part of Qt 4.1, I've written an example BitTorrent client under
> examples/network/torrent. It will contain a full tutorial on how this
> thing is implemented, and of course all source code (~4500 lines) is
> included. But what's missing is a good approach to two algorithms: warming
> up, and the endgame.
>
> The warming-up algorithm I've got is that all connections download the
> same piece initially, so that the client gets a full piece to share as
> soon as possible. This works quite well, and currently they're all asking
> for one piece. Do anyone on this list implement a similar algorithm?
>
> Also, what do other clients use to determine when to enter the endgame
> mode?
>
> Regards, Andreas
>
> PS: For anyone interested, it's all available in the 4.1 snapshots of Qt.
>
> --
> Andreas Aardal Hanssen
> http://www.andreas.hanssen.name/gpg2
> http://www.trolltech.com/
>
> _______________________________________________
> BitTorrent mailing list
> BitTorrent at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/bittorrent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ibiblio.org/pipermail/bittorrent/attachments/20050923/bfa33465/attachment.html 


More information about the BitTorrent mailing list