From: Pjotr Prins <pjotr.public12@thebird.nl>
To: Julien Lepiller <julien@lepiller.eu>
Cc: guix-devel@gnu.org
Subject: Re: plz is there a roadmap for a more resilient substitutes infrastructure?
Date: Sat, 3 Nov 2018 07:10:50 +0100 [thread overview]
Message-ID: <20181103061050.crf6564laxir4jze@thebird.nl> (raw)
In-Reply-To: <B5B9647A-06F8-41D4-813E-A7F48E8B1090@lepiller.eu>
On Fri, Nov 02, 2018 at 11:51:20PM +0100, Julien Lepiller wrote:
> We could easily distribute nar files over distributed networks (IPFS, bittorrent, …) but we still need a "canonical source" that builds these packages, otherwise how do you know what you are looking for? Don't we always need some sort of central authority?
Yes. A name service which is fed from accredited build servers.
It is not hard to keep a few build servers in the 'air' which can be
replaced on demand - even run in the cloud or in VMs. What is hard it
to create a 100% uptime service that serves many generations of nars.
Lot of data, and the data load can be high. This is what we ought to
consider fanning out.
Guix can support both systems, existing and new. Just add a
substitute-url which resolves to an IPFS based naming scheme. Could
even be integrated with guix-publish. Anyone who would run a
guix-publish server could choose to expose an IPFS node for sharing.
But I think it can be lighter weight. If we have a name service we
could indeed just make use of any protocol that serves files. As long
as the download hash is known. So, guix-named provides pointers to nar
entities with their download hash and guix-download is capable of
querying guix-named and provides more protocols. IPFS protocol is well
defined and there exist implementations in multiple languages.
Anyway, this all requires more thought and a proof-of-concept. The
point really is to design a distributed system based on existing
components.
Pj.
next prev parent reply other threads:[~2018-11-03 6:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-02 12:16 plz is there a roadmap for a more resilient substitutes infrastructure? Giovanni Biscuolo
2018-11-02 21:04 ` Pjotr Prins
2018-11-02 22:51 ` Julien Lepiller
2018-11-03 6:10 ` Pjotr Prins [this message]
2018-11-02 21:13 ` Devan Carpenter
2018-11-06 11:23 ` Ludovic Courtès
2018-11-06 11:31 ` Pierre Neidhardt
2018-11-11 18:56 ` Giovanni Biscuolo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181103061050.crf6564laxir4jze@thebird.nl \
--to=pjotr.public12@thebird.nl \
--cc=guix-devel@gnu.org \
--cc=julien@lepiller.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).