<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title><![CDATA[Bittorrent for apt]]></title>
    <link>http://brainstorm.ubuntu.com/item/8/</link>
    <description><![CDATA[When Gutsy was released, downloading CD images using bittorrent was very convenient, but downloading updates from the mirrors was a major pain. It should be possible for apt to use bittorrent, to make downloads faster and reduce the burden on the mirrors.<br />
<br />


<b>[746 votes] Solution #1: Auto-generated solution of idea #8</b>
<br />

<br />
<br />



]]></description>

    <language>en-us</language>
    <pubDate>Thu, 28 Feb 2008 14:17:20 +0000</pubDate>
    <lastBuildDate>Fri, 23 Oct 2009 08:19:31 +0000</lastBuildDate>
    <generator>QAPoll module</generator>
    <guid isPermaLink="true">http://brainstorm.ubuntu.com/idea/8/</guid>
        <item>
  <title>Comment from clemdup</title>
  <description><![CDATA[I wonder if p2p is suitable for small files' transfers, locating peers and enqueuing may be huge for 30kb language files...]]></description>
  <pubDate>Thu, 28 Feb 2008 14:48:42 +0000</pubDate>
</item>
        <item>
  <title>Comment from mikasjoman</title>
  <description><![CDATA[I am in China, and it SUX beeing here far away. So bittorrent could be great here. Updates can be 2k/sec daytime, and up to 200k/sec night-time. So torrents could be so much nicer.<br /><br />]]></description>
  <pubDate>Thu, 28 Feb 2008 15:00:45 +0000</pubDate>
</item>
        <item>
  <title>Comment from amlucent23</title>
  <description><![CDATA[My ISP (comcast) illegally throttle's all my bittorrent traffic. It is unbearably slow. So as long as it is an option not to use the bittorrent apt system and I can still set it up to download from a mirror, I am in favor. ]]></description>
  <pubDate>Thu, 28 Feb 2008 16:48:03 +0000</pubDate>
</item>
        <item>
  <title>Comment from rgries</title>
  <description><![CDATA[Here on my college campus using bit torrent is against the acceptable use policy so if ubuntu switched to bittorrent for apt updates I would not be able to use ubuntu. Please Don't ruin ubuntu with bittorrent because if it is implemented it would leave many users in the dark as far as updates go.]]></description>
  <pubDate>Thu, 28 Feb 2008 21:10:59 +0000</pubDate>
</item>
        <item>
  <title>Comment from guiral.lacotte</title>
  <description><![CDATA[Bittorrent can be an interesting option but traditional FTP/HTTP update must stay. The ability to share the apt cache between every computer on the same lan can be interesting too.<br />I have two computer with ubuntu so every update is download twice. ]]></description>
  <pubDate>Thu, 28 Feb 2008 23:37:36 +0000</pubDate>
</item>
        <item>
  <title>Comment from drewtown</title>
  <description><![CDATA[I think it could be an interesting experiment and it would have to be set up someway where users know how long they will be seeding for.  I may opt-out if I'm forced to seed for x days or whatever.]]></description>
  <pubDate>Thu, 28 Feb 2008 23:41:44 +0000</pubDate>
</item>
        <item>
  <title>Comment from djxhan</title>
  <description><![CDATA[FTP/HTTP/Torrent updating would be ideal. Especially during new release periods.]]></description>
  <pubDate>Fri, 29 Feb 2008 00:01:48 +0000</pubDate>
</item>
        <item>
  <title>Comment from Remmy</title>
  <description><![CDATA[Some downfalls to using bittorrent would be:<br /><br />Synchronizing updates across an unmanaged distributed network.<br /><br />Not everyone's storage space is equal which could lead to serious problems if the disk should become too full.<br /><br />It introduces the possibility of people using fake file to exploit systems in "untrusted" zones.<br /><br />Bandwidth limitations set by ISPs could cause account suspensions.]]></description>
  <pubDate>Fri, 29 Feb 2008 00:05:45 +0000</pubDate>
</item>
        <item>
  <title>Comment from dark</title>
  <description><![CDATA[Bittorrent is great, however here in the US some ISPs have begun to (usually illegally) slow down all P2P traffic and also may lead to how much you have to upload and this can be bad if you upload to much and your ISP decides to suspend your account because you went over an invisible limit. ]]></description>
  <pubDate>Fri, 29 Feb 2008 00:16:23 +0000</pubDate>
</item>
        <item>
  <title>Comment from maltes</title>
  <description><![CDATA[Debian/Ubuntu packages are supposed to be small individually. Large packages need to be broken up into smaller pieces. While I agree that a p2p system for distributing packages would be a nice idea, Bittorrent clearly is the wrong network for this kind of purpose.<br /><br />Maybe Bittorrent could be modified to fit this one better.]]></description>
  <pubDate>Fri, 29 Feb 2008 00:46:42 +0000</pubDate>
</item>
        <item>
  <title>Comment from wolfier</title>
  <description><![CDATA[If BT is used for Apt then there must be a way to authenticate a package.  MD5 is not a sufficient guard against hacked packages.]]></description>
  <pubDate>Fri, 29 Feb 2008 02:06:19 +0000</pubDate>
</item>
        <item>
  <title>Comment from Jonnan</title>
  <description><![CDATA[Obviously there are practical security considerations, but if file verification can be implemented properly, then yes, adding bittorrent as an additional option could hardly be a bad thing.]]></description>
  <pubDate>Fri, 29 Feb 2008 02:14:19 +0000</pubDate>
</item>
        <item>
  <title>Comment from thetictacaddict</title>
  <description><![CDATA[This would work really poorly for me in some locations, but it might be a good option to have, especially when upgrading several large packages.]]></description>
  <pubDate>Fri, 29 Feb 2008 02:25:51 +0000</pubDate>
</item>
        <item>
  <title>Comment from monte48lowes</title>
  <description><![CDATA[I have 'apt-cacher' installed on the main system in my house. I then have all the other computers in the house setup to get updates through the main system. Therefore I only have to download updates once. It's amazing to install KDE proper from the default kubuntu install and have it complete the ~180MB download in minutes. Something like this would work well on campuses as well.<br /><br />Mike]]></description>
  <pubDate>Fri, 29 Feb 2008 02:33:57 +0000</pubDate>
</item>
        <item>
  <title>Comment from Nat_Tuck</title>
  <description><![CDATA[This issue was considered for Debian five or six years ago, and it turns out to be really hard to implement in practice.<br /><br />The one point that no-one has mentioned so far is this: Bittorrent is designed to distribute one specific large set of files, while apt tends to give a different set of small files to each user.<br /><br />Basically, you'd either need to have one torrent for each package - which would be dog slow because each downloader would always be done before they got any upload credit - or, you could have one big torrent of every file in the repository, and that's wildly inefficient too.]]></description>
  <pubDate>Fri, 29 Feb 2008 03:22:36 +0000</pubDate>
</item>
        <item>
  <title>Comment from hackel</title>
  <description><![CDATA[I see no point to adding bittorrent support to apt.  I very much like Debian's rsync capability for updating package lists, and this should be adopted by Ubuntu.<br /><br />I also wish that Ubuntu would release an upgrade package "archive", available via bittorrent, so that we could pre-seed our apt cache prior to initiating a complete distribution upgrade.  This would be very useful, and better than downloading the entire install CD just to extract the debs from.]]></description>
  <pubDate>Fri, 29 Feb 2008 05:07:31 +0000</pubDate>
</item>
        <item>
  <title>Comment from afuchs</title>
  <description><![CDATA[google 'apt-torrent']]></description>
  <pubDate>Fri, 29 Feb 2008 06:06:02 +0000</pubDate>
</item>
        <item>
  <title>Comment from derick.eisenhardt</title>
  <description><![CDATA[I really like this idea, however I agree it would be a little overkill for small packages and should definitely be optional. Maybe have it so that the standard direct download method is used for any packages 1MB or smaller? Also there should probably be a user editable option for the threshold of when bitTorrent is used and when HTTP/FTP/Rsync is used. Not only could this make downloading large packages (like OpenOffice or games) quicker, but it could greatly help cut down on Canonical's bandwidth needs and would be ultra beneficial to Ubuntu derivative distros with smaller bandwidth abilities.]]></description>
  <pubDate>Fri, 29 Feb 2008 07:20:00 +0000</pubDate>
</item>
        <item>
  <title>Comment from Velvet Elvis</title>
  <description><![CDATA[This exists for debian<br /><br />http://packages.debian.org/sid/apt-transport-debtorrent<br />http://packages.debian.org/sid/debtorrent<br />]]></description>
  <pubDate>Fri, 29 Feb 2008 09:09:12 +0000</pubDate>
</item>
        <item>
  <title>Comment from bawjaws</title>
  <description><![CDATA[monte48lowes mentions apt-cache which makes more sense to me than bitorrent.<br /><br />But surely with ahavi it should be possible for Ubuntu machines on the same LAN to organise amongst themselves and not needlessly download things twice without having to manually set them all to go through a single permanent machine.<br />]]></description>
  <pubDate>Fri, 29 Feb 2008 11:48:37 +0000</pubDate>
</item>
        <item>
  <title>Comment from Eldmannen</title>
  <description><![CDATA[Torrents are fine for media such as video and audio.<br />But for executable code, no thanks.]]></description>
  <pubDate>Fri, 29 Feb 2008 14:13:04 +0000</pubDate>
</item>
        <item>
  <title>Comment from dns_server</title>
  <description><![CDATA[it appears hardy has a package apt-transport-debtorrent.<br /><br />deb packages are signed so the transport used does not have any impact in security. They are verified and checked against the pgp key and will show a warning if the package is not signed or the signer is not known.]]></description>
  <pubDate>Fri, 29 Feb 2008 14:14:11 +0000</pubDate>
</item>
        <item>
  <title>Comment from notinking2</title>
  <description><![CDATA[I would be in favor if<br />- it's not default<br />- files are cryptographically signed and verified. <br /><br /><br />]]></description>
  <pubDate>Fri, 29 Feb 2008 15:51:46 +0000</pubDate>
</item>
        <item>
  <title>Comment from ant23</title>
  <description><![CDATA[why not just use Metalink & spread the load between the already capable mirrors?<br /><br />http://www.metalinker.org/]]></description>
  <pubDate>Fri, 29 Feb 2008 20:33:48 +0000</pubDate>
</item>
        <item>
  <title>Comment from adelie</title>
  <description><![CDATA[BitTorrent needs to become another option, not something to replace http/ftp. Linix is about flexibility  :)]]></description>
  <pubDate>Fri, 29 Feb 2008 22:11:49 +0000</pubDate>
</item>
        <item>
  <title>Comment from Æshættr</title>
  <description><![CDATA[I think that bittorrent should be an option (I would definitely use it to lighten the load on the repositories.)<br /><br />If an ISP blocks bittorrent traffic, apt can use encryption.  <br /><br />Even if traffic shaping is used to detect bittorrent traffic, the software can still adjust the number of connections it has open to mimmic other types of traffic (speed wouldn't be as great, but it's something.)<br /><br />As for fake data being distributed, apt can always do a checksum against what the repo says it should be.<br /><br />However, FTP/HTTP will always have their place.]]></description>
  <pubDate>Fri, 29 Feb 2008 23:44:25 +0000</pubDate>
</item>
        <item>
  <title>Comment from Kevin Oberle</title>
  <description><![CDATA[I think for normal day to day apt use, a torrent system would be both inefficient and overkill. But I do think that it has a niche on those first few days when a final version of ubuntu is released and all the servers slow to a crawl.<br /><br />Why not implement a very low complexity torrent program right into the update script that ubuntu downloads when it is updating to the next version. All it would have to do is grab the alternate iso and set it as a source. It could also gracefully fall back, or the user could opt out. It could even display a message on completion of the upgrade requesting that the user seed for a day or two.<br /><br />This would take a huge load off the servers, would most likely be far simpler to implement then then torrents in apt itself, and on release day, it could make hours difference in the download time. New versions of Ubuntu could take over the world!!]]></description>
  <pubDate>Sat, 01 Mar 2008 07:56:47 +0000</pubDate>
</item>
        <item>
  <title>Comment from antonpiatek</title>
  <description><![CDATA[This has been discussed on Debian mailing lists several times - Torrents are good for large files, apt is lots of small files. The benefits are not worth the effort. There are plenty of mirrors anyway]]></description>
  <pubDate>Sat, 01 Mar 2008 11:09:36 +0000</pubDate>
</item>
        <item>
  <title>Comment from rawler</title>
  <description><![CDATA[I think people are missing the most fundamental point about bittorrent. Torrents usually don't live on unless someone is seeding. Sure, if the file is really big, you will be seeding while downloading, but unless users are willing to share upstream bandwidth when NOT updating, I think apt-torrent has few chances of success.<br /><br />Instead, I would like to see better mirroring, more updated mirrors and such. Perhaps stop rsync:ing the mirrors and instead run reverse http-caches, such as Varnish?]]></description>
  <pubDate>Sat, 01 Mar 2008 11:38:25 +0000</pubDate>
</item>
        <item>
  <title>Comment from grantek</title>
  <description><![CDATA[Voted down on this - a hierarchy of mirrors is better for the multitude of small files. You'd practically need a torrent for each file (even if they were consolidated into one .torrent file, the topological view of the network is the same), so slow peers would be a bottleneck, and in general it'd be a waste of bandwidth where you can just stick a thumping big cache next to you on the network with cheap bandwidth to it.]]></description>
  <pubDate>Mon, 03 Mar 2008 09:32:07 +0000</pubDate>
</item>
        <item>
  <title>Comment from ottk3</title>
  <description><![CDATA[I would prefer an option to use torrent instead, if the package size is bigger than (maybe) 2-5MB, so small files can be downloaded quick from the server, while bigger files can be downloaded via torrent]]></description>
  <pubDate>Wed, 05 Mar 2008 12:50:14 +0000</pubDate>
</item>
        <item>
  <title>Comment from martin.marcher</title>
  <description><![CDATA[As long as it's optional I'm fine with that.]]></description>
  <pubDate>Fri, 07 Mar 2008 13:58:32 +0000</pubDate>
</item>
      </channel>
</rss>
