Package Manager Based Backend
Not logged in

Nix Package Manager Backend

DHT "Storage Engine" Idea

------------------------------

Message: 4 Date: Sat, 11 Apr 2015 08:11:55 +0300 From: Martin Vahi <martin.vahi@softf1.com> Subject: Nix-dev DHT as a "storage engine"? To: nix-dev@lists.science.uu.nl Message-ID: <5528AD1B.50403@softf1.com> Content-Type: text/plain; charset=utf-8

Dear Nix package manager developers,

I hope that I'm not asking a question that is answered at some documentation, but I was thinking that the Gnutella file-sharing network

http://rfc-gnutella.sourceforge.net/

might be an interesting "storage pool" for software packages, because supposedly the MAGNET

http://magnet-uri.sourceforge.net/

URL is based on the hash of the sharable file, which is perfect for a unique software packet ID. The main benefit of the Gnutella might be reliability and it would be very attractive, if all versions of all software packages were reliably available online, to the point that even the NSA, politicians and lawyers can not effect the reliability.

Does Nix package manager already have Gnutella or something similar as a "storage engine", or am I writing too wild things here?

Thankfully, Martin.Vahi@softf1.com

------------------------------

Message: 5 Date: Sat, 11 Apr 2015 11:15:12 +0200 From: Vladim?r ?un?t <vcunat@gmail.com> Subject: Re: Nix-dev DHT as a "storage engine"? To: martin.vahi@softf1.com Cc: nix-dev@lists.science.uu.nl Message-ID: <5528E620.6090500@gmail.com> Content-Type: text/plain; charset="utf-8"

On 04/11/2015 07:11 AM, Martin Vahi wrote: > Does Nix package manager already have > Gnutella or something similar as a "storage engine", > or am I writing too wild things here?

No, I'm fairly certain we have no decentralized way to distribute packages (yet). There have been some discussions, of course.

BTW, currently the official binary cache is served by Amazon, which IMHO should be usually significantly faster than any available distributed solution. Of course, distributed models have other advantages, but someone would have to put nontrivial effort to make it work with nix...

Vladimir

-------------- next part --------------