5 ms·
That's a neat idea but probably unworkable in practice. Container images need to be reliably available quickly; there is no appetite for the uncertainties surro
by Karunamon 4y ago
That's a neat idea but probably unworkable in practice. Container images need to be reliably available quickly; there is no appetite for the uncertainties surrounding the average torrent download
- nordsieck 4y ago> That's a neat idea but probably unworkable in practice. Container images need to be reliably available quickly; there is no appetite for the uncertainties surrounding the average torrent download Bittorrent seems to work quite well for linux isos, which are about the same size as containers, for obvious reasons. IMO, the big difference is that, with bittorrent, it's possible to very inexpensively add lots of semi-reliable bandwidth.
- Karunamon 4y agoNobody is going to accept worrying about whether the torrent has enough people seeding in the middle of a CI run. And your usual torrent download is an explicit action with an explicit client, how are people going to seed these images and why would they? And what about the long tail?
- phkahler 4y agoNobody needs to be seeding if only one download is active. You could self host an image at home on a Raspberry Pi and provide an image in a minute. Nobody's CI should be depending on an external download of that size.
- Karunamon 4y agoWe are talking about replacing the docker hub and the like, what people "should" be doing and what happens in the real world are substantially different. If this hypothetical replacement can't serve basic existing use cases it is dead at the starting line.
- SSLy 4y ago> enough people seeding the .torrent file format, and clients, include explicit support for HTTP mirrors serving the same files that's distributed via P2P.
- yamtaddle 4y agoArchive.org does this with theirs. If there are no seeds (super common with their torrents—IDK, maybe a few popular files of theirs do have lots of seeds and that saves them a lot of bandwidth, but sometimes I wonder why they bother) then it'll basically do the same thing as downloading from their website. I've seen it called a "web seed". Only place I've seen use it, but evidently the functionality is there.
- yencabulator 4y agoI'm pretty much convinced the people at Docker have explicitly made their "registry" not be just downloadable static files purely to enable the rent-seeking behavior we are seeing here...
- nine_k 4y agoCache images locally. Docker has enough provisions for image mirrors and caches. Downloading tens or hundreds of megabytes of exactly the same image, on every CI run, on someone else's expense, is expectedly unsustainable.
- rjmunro 4y agoPeople who need "reliably available quickly" can pay or set up their own mirror. Everyone else can use the torrent system.