Re:Seeding torrents from S3
by dublinben on Tuesday May 06, 2014 @01:15PM
(#7705774)
This is probably an incredibly expensive way to seed torrents. There are any number of seedbox providers who will give you several hundred GB of storage, several TB of traffic, and much higher speeds for a flat rate of ~$15 a month.
Re:Seeding torrents from S3
by aroch on Tuesday May 06, 2014 @01:11PM
(#7705745)
The upload speed for S3 seeding was usually between 72 and 80 KiB per second
So not horribly helpful for larger blobs that you expect to have a lot of initial demand for. You'd be better off serving the blob or renting a seedbox / cheap server if you want to do initial seeding for distribution if you were interested in your users experience.
Re:Seeding torrents from S3
by toomuchtodo on Tuesday May 06, 2014 @01:31PM
(#7705888)
The benefit isn't in serving the data from S3. The benefit is that S3 is an indestructible tracker. If you remove public-read from an object, S3 will continue to serve as the tracker for the object for the swarm.
Re:Seeding torrents from S3
by mikeash on Tuesday May 06, 2014 @01:38PM
(#7705936)
Providing an extra seed seems useful too. You can do the initial seed from somewhere faster, but S3 will provide a backstop in case that seed goes down. It might be too slow for the full download, but it can help fill in the last little pieces in case you get into a situation where everybody in the swarm has 99% of the file but nobody has some particular chunks.
Re:Seeding torrents from S3
by toomuchtodo on Tuesday May 06, 2014 @01:41PM
(#7705953)
CORRECTION: It was pointed out by /u/teraflop that the Bittorrent functionality and Requestor Pays functionality are incompatible on the same bucket.
Indeed. S3 also has the ability to have the requestor pay for the bandwidth costs of a object retrieval. You could, for example, get the object free from the swarm, and pay for the last few MB/GB if it was unavailable from anyone else.
Re:Seeding torrents from S3
by fat0wl on Tuesday May 06, 2014 @05:07PM
(#7707096)
Yah exactly -- you can seed the file yourself but just have this as a backup in case your PC/laptop/whatever is turned off. Slower, but at least its there. Once it is seeded beyond a couple initial users it's a moot point anyway.
Doubt that AWS is trying super hard to get into the torrent sphere, its just +1 cool thing they support.
Re:Seeding torrents from S3
by oakwhiz on Tuesday May 06, 2014 @02:15PM
(#7706170)
Instead of using the BitTorrent feature of S3, it might be more effective to check the popularity and health of your torrent, and then when it is suitable, spin up a small EC2 instance running a BitTorrent client to seed the torrent. You should be able to achieve better performance this way, and you can shut down the instance when the torrent is healthy.
Alternatively, there is also the possibility of using the HTTP seeding extension to the BitTorrent protocol (BEP17/BEP19) which is supported by most clients.
Re:Seeding torrents from S3
by aroch on Tuesday May 06, 2014 @04:19PM
(#7706842)
For even a modestly sized blob with a relatively small swarm you'd get hit with tens of thousands of requests due to block requests, you'd be spending more on bw+requests than is probably worth it.
Re:Seeding torrents from S3
by profquail on Tuesday May 06, 2014 @05:31PM
(#7707215)
Another idea: you could also use S3 as a web seed for a .torrent you hosted somewhere (or even a magnet link); it seems likely the speeds would be much better as well, since you'd be able to take advantage of S3's load-balancing.
Re:Seeding torrents from S3
by mappu on Tuesday May 06, 2014 @05:43PM
(#7707266)
+1 for web seeds. You can also avoid having a tracker at all if you use PEX and DHT-only magnet links.
Tangent: I ran into a strange bug with web seeds using Transmission on Debian Wheezy the other day: it does not respect the configured speed limit for web seed sources, owing to a discrepancy in the way libcurl vs libtransmission downloads are handled. It's fixed now but not in Wheezy.
Re:Seeding torrents from S3
by teepo on Tuesday May 06, 2014 @01:14PM
(#7705769)
Why?
This would work... until the surprise bandwidth bill comes in.You could just do this for free using dropbox though, or another less expensive object storage.
"For Basic accounts, the total amount of traffic that all of your links together can generate without getting banned is 20 GB per day. For Pro and Business accounts, the limit is 200 GB per day."
Indeed. S3 also has the ability to have the requestor pay for the bandwidth costs of a object retrieval. You could, for example, get the object free from the swarm, and pay for the last few MB/GB if it was unavailable from anyone else.
http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPays...
http://docs.aws.amazon.com/AmazonDevPay/latest/DevPayDevelop...
Doubt that AWS is trying super hard to get into the torrent sphere, its just +1 cool thing they support.
Alternatively, there is also the possibility of using the HTTP seeding extension to the BitTorrent protocol (BEP17/BEP19) which is supported by most clients.
Tangent: I ran into a strange bug with web seeds using Transmission on Debian Wheezy the other day: it does not respect the configured speed limit for web seed sources, owing to a discrepancy in the way libcurl vs libtransmission downloads are handled. It's fixed now but not in Wheezy.
I'm sure plenty of people use it on their EC2 instances though.
https://sites.google.com/site/torrenttricks/use-dropbox-as-a...
"For Basic accounts, the total amount of traffic that all of your links together can generate without getting banned is 20 GB per day. For Pro and Business accounts, the limit is 200 GB per day."