Skip to content

Comment on Using BitTorrent with Amazon S3parent

Comments

Why would you care to exclude peers slow or far? What benefit would you expect?

The torrent library to use is libtorrent.

https://github.com/rakshasa/libtorrent

S3 will normally provide ample bandwidth, but in some situations there's a local shared downlink that is the bottleneck. For example in asset heavy multiuser VR or game apps used by many people in same location. By only including the nearby peers I get all the benefit but minimize the risk of people accusing me of clogging / mooching off their uplink.

(You probably want Arvid's libtorrent, at http://www.libtorrent.org, not the one linked above.)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.