GNU bug report logs

#52555 [RFC PATCH 0/3] Decentralized substitute distribution with ERIS

PackageSource(s)Maintainer(s)
guix-patches PTS Buildd Popcon
Full log

Message #106 received at 52555@debbugs.gnu.org (full text, mbox, reply):

Received: (at 52555) by debbugs.gnu.org; 2 Feb 2022 10:50:45 +0000
From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 02 05:50:45 2022
Received: from localhost ([127.0.0.1]:51576 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1nFDDp-0001EP-AX
	for submit@debbugs.gnu.org; Wed, 02 Feb 2022 05:50:45 -0500
Received: from mout01.posteo.de ([185.67.36.65]:53719)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <pukkamustard@posteo.net>) id 1nFDDl-0001E6-9Y
 for 52555@debbugs.gnu.org; Wed, 02 Feb 2022 05:50:43 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 331DC240026
 for <52555@debbugs.gnu.org>; Wed,  2 Feb 2022 11:50:34 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1643799035; bh=EYSRzA9xqxpfz816dUeBTgp5sO5TyZONbT2I+I5LehU=;
 h=From:To:Cc:Subject:Date:From;
 b=UO2e1DF0jBX5nUBoe7glrUPbpM4w7Umdi0/COu/gV/Tsscq04a6ujRLSFWhofE6Re
 0iQS0cMgVsHatDmnc3hJdsGC1IzD/6WEiT495Bh6ElqwKKoFuSD2BDCE5c9eErs2L/
 7q8b1r8RS9cyGtlHbedO8ZMl/hl4oCFDBcmnnE5MlnH3SK+tJWUQhPiYgHgRTTokDC
 C6zp50gzsJICmuDj8XMDDYpj5J77Vin7Fpdasa+PtavgWi40sW10ecEj8INjrzkMtm
 OxH7HGmZnZ18mddZmmd7sNPpUh0piqnAUdcECet1Y3bsZffy+st6W/NEy6PBWod+eB
 d8y2iI8LQo1sg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4Jpdqs6YHZz6tq0;
 Wed,  2 Feb 2022 11:50:33 +0100 (CET)
References: <20220125192201.7582-1-pukkamustard@posteo.net>
 <20220125192201.7582-6-pukkamustard@posteo.net>
 <d6bb147c902c0067d923321daf6d8db4a06fa537.camel@telenet.be>
From: pukkamustard <pukkamustard@posteo.net>
To: Maxime Devos <maximedevos@telenet.be>
Subject: Re: [bug#52555] [RFC PATCH v2 5/5] substitute: Fetch substitutes
 using ERIS.
Date: Wed, 02 Feb 2022 10:38:55 +0000
In-reply-to: <d6bb147c902c0067d923321daf6d8db4a06fa537.camel@telenet.be>
Message-ID: <86k0edh79j.fsf@posteo.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52555
Cc: ~pukkamustard/eris@lists.sr.ht, 52555@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
Maxime Devos <maximedevos@telenet.be> writes:

> [[PGP Signed Part:Undecided]]
> pukkamustard schreef op di 25-01-2022 om 19:22 [+0000]:
>> +  (define* (best-uri narinfo #:key (eris? #f))
>> +    (if (and eris? (narinfo-eris-urn narinfo))
>> +        (values (narinfo-eris-urn narinfo) "zstd" #f)
>> +        (narinfo-best-uri narinfo #:fast-decompression?
>> +                          %prefer-fast-decompression?)))
>
> Why is ERIS the best here?  Fast download speeds, decentralisation,
> less network I/O, less heat production, more pronouncable than HTTPS?
> I would add a comment here.

Those are all possible reasons. I think we first need to do some
experiments to see if any of those claims can be justified.

In general, the logic for when to use ERIS transports needs more
thought.

For one, I think it should be user configurable. I can imagine that
certain users do not want to use decentralized substitutes at all. Users
should be able to deactivate the entire ERIS thing.

For the default, I personally think it would be ok to try and use
ERIS. The only thing we absolutely need is a clean fallback logic that
transparently falls back to getting the entire NAR by HTTP. Currently
such a fallback is not yet implemented.

-pukkamustard




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Mon Sep 8 11:51:12 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.