Results 1 to 10 of 10

Thread: Aliviating mirrors using APT-TORRENT: apt and bitorrent

Hybrid View

  1. #1
    Join Date
    Nov 2004
    Location
    Portugal
    Beans
    362

    Aliviating mirrors using APT-TORRENT: apt and bitorrent

    To aliviate the backport mirrors, why not take look at apt-torrent. The project is still not 100% finished, it seems, but perhaps in the future it would be good to use? It can be used with any frontend wich uses apt:

    " It can work with any program using apt as a backend like dselect/aptitude/synaptic/...etc."

    Here is the documentation of it:
    APT-TORRENT: "An apt proxy to bittorrent for Debian" - http://sianka.free.fr/documentation.html

    This are the most recent news of the developer:
    "18/02/2005:
    I'm currently looking for bandwidth to experiment deeply the project.
    I'm considering setting up some mirrors with friends, anyway if you some ideas, do not hesitate share them with me.
    I'll release a new version soon, so stay tunned."

    Perhaps the backports main server could be the excellent testing ground that the developer is looking for?
    Last edited by jobezone; May 21st, 2005 at 01:50 AM.
    Are you into the White-Plastic Life-Style?

  2. #2
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Aliviating mirrors using APT-TORRENT: apt and bitorrent

    Funny thing. Have you seen that I recently (within the past two days) put Apt-torrent into Hoary Extras Staging?

    I'll play with it a bit, and see if it's a practical solution
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  3. #3
    Join Date
    Nov 2004
    Location
    Portugal
    Beans
    362

    Re: Aliviating mirrors using APT-TORRENT: apt and bitorrent

    Yes, actually I was looking at your site's statistics and saw in the changelog the inclusion of that package. I guess I forgot there would be a reason for you to be adding it to the backports
    I also took the liberty to e-mail the developer of apt-torrent with this message:

    "SUBJECT: Hello, I'm a user of Ubuntu, and would to point to you
    a project called backports, which aims to maintain an
    apt repository for recent packages for ubuntu.
    The mirrors it uses are very much dried of all the
    downloading they get, and apt-torrent would probably
    be a good idea for them to try(in my view). And
    perhaps you could make use of their bandwith for
    testing of apt-proxy?

    I'm not a developer of on backports, just wanted to
    tell you about it. I've also added a thread talking
    about apt-proxy in the backports forum:
    http://ubuntuforums.org/showthread.php?p=180663 and if
    you wish you could post in that forum, or contact the
    backports developers directly:
    http://backports.ubuntuforums.org/

    Thanks"
    Hope you don't mind! What would make you refrain from using apt-torrent ? If the app is still under-developed? Because the idea and concept for me is excelent. People are already using bitorrent everywhere to distribute files and ISO's, like Canonical, for example, so why not use it for apt?

  4. #4
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Aliviating mirrors using APT-TORRENT: apt and bitorrent

    What's stopping me is two things:
    1. New technology. Nobody's used BT for apt-get before! I'm really curious how it works though. This isn't the major setback.
    2. Ease/difficulty of setup. How difficult is it to teach new users how to add Apt-torrent and configure it. It's already enough of a pain explaining how to edit sources.list the way it is now.


    I think apt-torrent will be an EXCELLENT method of distributing backports, and I can't wait to get started testing it. I'm installing it as we speak.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  5. #5
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Aliviating mirrors using APT-TORRENT: apt and bitorrent

    I have contacted the author of apt-torrent, and I hope we can work together to make apt-torrent a distribution method for Backports.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

  6. #6
    Join Date
    Nov 2004
    Location
    Portugal
    Beans
    362

    Re: Aliviating mirrors using APT-TORRENT: apt and bitorrent

    Hmm, I found this discussion at the Debian-User mailing list http://lists.debian.org/debian-devel.../msg01715.html:

    > Arnaud Kyheng wrote:
    > | Hello,
    > |
    > | I love the Debian project, and I have worked on a new development
    > | for it: Apt-Torrent
    >
    > Thank you for your contribution. However, I looked at doing
    > something similar to this a little while ago and found that
    > bittorrent is not very well suited for doing package downloads. Of
    > the ~15k binary packages in Debian about 87% are under 1 meg in
    > size and 98% are under 10 megs. The bit-torrent protocol works
    > best on files significantly larger than this. Also, the protocol
    > is not as efficient as it could be for the server hosting the
    > .torrent file, which means it scales quite poorly when there are
    > lots of requests for small files, as would be the case for Debian
    > packages.

    Someone else has also looked into adding a p2p protocal to apt file
    fetching, haven't watched it closely, nor am I a developer for it.
    http://pdtp.org/static/
    At one point I thought they even had an apt-pdtp in the works, but i
    can't find it now.
    Not trying to say apt-torrent isn't a worthwhile project, but as Mike
    noted, bittorrent really isn't a good protocal for the number of
    small files Debian has. It does work well though for CD images.
    Even it it wouldn't totally take away traffic from the server which seeds the packages, since most packages are indeed small, it would still be good for times when huge and popular packages get new versions, like Openoffice, or Firefox.
    Last edited by jobezone; May 21st, 2005 at 04:04 AM. Reason: Corrected link

  7. #7
    Join Date
    Nov 2004
    Location
    Portugal
    Beans
    362

    Re: Aliviating mirrors using APT-TORRENT: apt and bitorrent

    According to http://sianka.free.fr/documentation.html the package will automatically add the necessary line in sources.list pointing to the local bitorrent proxy:

    "# Local proxy
    deb http://127.0.0.1:6968/debian/ unstable main"

    The real repository is in /etc/apt/apt-torrent.conf so the package should be changed so it points to the backports HTTP server containing the .torrent files.

    The .torrent files would then point to the backports apt-torrent-server which serves both as the tracker and a seeder.

    Since this is automatically done by the package, the user wouldn't need to intervene in the process.

    The questions which may be posed is concerning bitorrent itself and apt-proxy which is run as a deamon, both of wich I don't know much about.
    I supose it will have the ability to serve files to other people using bitorrent as well, so it opens a port. What if users have that port closed in their routers? And is it(bitorrent) secure ? What about when a user is totally anaware of ports and just installed a raw Ubuntu?

    And the most important question, is it spelled bitorrent or bittorrent??!
    Last edited by jobezone; May 21st, 2005 at 03:45 AM. Reason: re-clarified some points!

  8. #8
    Join Date
    May 2005
    Location
    San Francisco, CA
    Beans
    12
    Distro
    Ubuntu Development Release

    Re: Aliviating mirrors using APT-TORRENT: apt and bitorrent

    I don't see apt-torrent in hoary extras staging.

  9. #9
    Join Date
    Oct 2004
    Location
    Cupertino, CA
    Beans
    5,092
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Aliviating mirrors using APT-TORRENT: apt and bitorrent

    I've been looking into the source, and I've decided this is more trouble than it's worth.

    We're getting two mirrors, which should give us plenty of bandwidth.


    Meanwhile, I'll continue to distribute HUGE debs through decentralized Azureus.
    Quote Originally Posted by tuxradar
    Linux's audio architecture is more like the layers of the Earth's crust than the network model, with lower levels occasionally erupting on to the surface, causing confusion and distress, and upper layers moving to displace the underlying technology that was originally hidden

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •