Just had this idea pop up in my mind. Instead of relying on volunteers mirroring package repositories all around the world, why not utilise BitTorrent protocol to move at the very least some some load unto the users and thus increase download speeds as well as decrease latency?
- delirious_owl ( @delirious_owl@discuss.online ) 40•5 months ago
What are you talking about? All that torrent traffic that my ISP sees is definitely Linux ISOs.
Just doing my part
Whatever I’m talking about is not Linux ISOs.
- walden ( @walden@sub.wetshaving.social ) 5•5 months ago
I think they were joking.
They were joking about whole other thing. My topic has nothing to do with distro ISOs, I was talking about packages
- walden ( @walden@sub.wetshaving.social ) 3•5 months ago
A “joke” often references material that is related, but not the same.
Uhhh no, judging by the others, people definitely seem to have problem with confusing what I was talking about exactly
- walden ( @walden@sub.wetshaving.social ) 3•5 months ago
Linux ISO is slang for pirated content. They were clearly joking. https://www.urbandictionary.com/define.php?term=Linux+ISO
Dude, I get their joke, but Linux ISOs are irrelevant to the conversation. That’s what I wanted to point out, because many people get confused and think I was talking about them specifically
- Goun ( @Goun@lemmy.ml ) 2•5 months ago
Ohhhh I thought we were talking about ISOs this whole time! We love these ISOs, don’t we?
- FuCensorship ( @FuCensorship@lemmy.today ) 4•5 months ago
Woosh
- Rogue ( @Rogue@feddit.uk ) 36•5 months ago
I suspect if this was enabled by default there would be uproar from people annoyed the distro was stealing their bandwidth, and if it were opt-in then very few people would do it.
Windows Update uses peer to peer to distribute updates. It’s one of the first things I always disabled.
- 𝘋𝘪𝘳𝘬 ( @Dirk@lemmy.ml ) 24•5 months ago
Most common/relevant/larger distros do that at least for the install/live ISO.
- lemmyvore ( @lemmyvore@feddit.nl ) English22•5 months ago
OP is taking about packages and updates using peer to peer, not just the install media. AFAIK no distro does that.
- GravitySpoiled ( @GravitySpoiled@lemmy.ml ) English21•5 months ago
One reason is privacy and hence security. If you share a package, you also share the information that your system contains the oudtated package “xy” which has a backdoor and can be accessed by a hacker.
I’m not sure if that is a valid argument with atomic image distros since you share the whole image. And the tracker could just disable the old image as soon as the new image arrives.
- treadful ( @treadful@lemmy.zip ) English5•5 months ago
It no more says that than hosting an HTTP mirror currently does.
- Lemmchen ( @Lemmchen@feddit.de ) 4•5 months ago
But as a third party you can not know which clients are using this outdated http mirror. On BitTorrent you can see every participating peers and some of them are probably enduser machines (depending on the actual implementation of OP’s suggestion).
- Possibly linux ( @possiblylinux127@lemmy.zip ) English1•5 months ago
You could just check the signature
- gnuhaut ( @gnuhaut@lemmy.ml ) 20•5 months ago
Because HTTP is simpler, faster, easier, more reliable.
The motivation for a a lot of p2p is to make it harder to shut down, but there is no danger of that for Linux distros. The other would be to save money, but Debian/Arch/etc. get more than enough bandwidth/server donations, so they’re not paying for that anyway.
- driving_crooner ( @driving_crooner@lemmy.eco.br ) 8•5 months ago
p2p is also cheaper, bandwidth-wise, but packages are usually not that big to justify it.
- makeasnek ( @makeasnek@lemmy.ml ) English12•5 months ago
There is an apt variant that can do this, but nobody uses it. BitTorrent isn’t great for lots of small files overhead wise.
IPFS is better for this than torrents. The question is always “how much should the client seed before they stop seeding and how longs should they attempt to seed before they give up”. I agree something like this should exist, I have no problem quickly re-donating any bandwidth I use.
- arxdat ( @arxdat@lemmy.ml ) 10•5 months ago
Metallica ruined it. They made it seem as though torrenting was evil because their content was being downloaded. Poor babies.
- sntx ( @sntx@lemm.ee ) 9•5 months ago
Nix has an open issue on integrating IPFS support.
There’s also an old tutorial.
- Sims ( @Sims@lemmy.ml ) 7•5 months ago
Over time I’ve seen several groups tinker with p2p protocols for packages. Latest using gnunet/ipfs for Guix packages. But I’ve never seen a working/integrated system. Weird…
- ducking_donuts ( @ducking_donuts@lemm.ee ) 7•5 months ago
At least Kali and Arch do
Doesn’t Arch rely on mirrors to distribute packages?
- ducking_donuts ( @ducking_donuts@lemm.ee ) 5•5 months ago
You’re right - I misunderstood the question and thought you meant the distribution images
- ಠ_ಠ ( @andrade@infosec.pub ) 6•5 months ago
Some distros do this already.
Alternative downloads
There are several other ways to get Ubuntu including torrents, which can potentially mean a quicker download, our network installer for older systems and special configurations and links to our regional mirrors for our older (and newer) releases.
BitTorrent is a peer-to-peer download network that sometimes enables higher download speeds and more reliable downloads of large files. You need a BitTorrent client on your computer to enable this download method.
- cobra89 ( @cobra89@beehaw.org ) 12•5 months ago
They’re talking about packages you install, not the ISOs.
- ಠ_ಠ ( @andrade@infosec.pub ) 3•5 months ago
Ah, oops!
- Possibly linux ( @possiblylinux127@lemmy.zip ) English3•5 months ago
That what Debian does with ISOs. However, no one uses it.
If anything IPFS might be good for packages as the IPFS program could he embedded into the package manager.
- Goun ( @Goun@lemmy.ml ) 5•5 months ago
We do use it! I download several Linux ISOs from bittorrent every week!
- oldfart ( @oldfart@lemm.ee ) 4•5 months ago
I use bittorrent for isos and the files usually have hundreds of seeds. They are used.
Same for Armbian.
- 0x0 ( @0x0@programming.dev ) 3•5 months ago
That what Debian does with ISOs. However, no one uses it.
Source?
I use torrents/magnets for ISOs whenever i can.
- bloodfart ( @bloodfart@lemmy.ml ) 2•5 months ago
Literally get isos faster from torrents than from the mirrors lol.
- boredsquirrel ( @boredsquirrel@slrpnk.net ) 3•5 months ago
Reminds me of the Talk about distributing firmware.
Bittorrent is poorly pretty suspicious which may be used as an argument. But I dont see the reason really.
- utopiah ( @utopiah@lemmy.ml ) 3•5 months ago
FWIW the “opposite”, namely Webseed, exists http://bittorrent.org/beps/bep_0019.html so… maybe some already do but it’s not even noticed because Wedseed of mirrors handle the load?
- recarsion ( @recarsion@discuss.tchncs.de ) 2•5 months ago
To add to everything else mentioned, many places (schools, workplaces) don’t allow any usage of BitTorrent, even legal. A guy at my uni got yelled at for torrenting a Linux iso. Not to mention depending on where you live your ISP might be interested in that activity unless you’re using a vpn.