From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gJBhM6hm+mFVygAAgWs5BA (envelope-from ) for ; Wed, 02 Feb 2022 12:10:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WOI5LKhm+mGDhAAAG6o9tA (envelope-from ) for ; Wed, 02 Feb 2022 12:10:32 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 451F637318 for ; Wed, 2 Feb 2022 12:10:32 +0100 (CET) Received: from localhost ([::1]:44416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFDWx-0007lM-1M for larch@yhetil.org; Wed, 02 Feb 2022 06:10:31 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFDWV-0007l2-Qc for guix-patches@gnu.org; Wed, 02 Feb 2022 06:10:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFDWU-0005PO-IX for guix-patches@gnu.org; Wed, 02 Feb 2022 06:10:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFDWU-0001lU-7e for guix-patches@gnu.org; Wed, 02 Feb 2022 06:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52555] [RFC PATCH v2 0/5] Decentralized substitute distribution with ERIS Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Feb 2022 11:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52555 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: pukkamustard Cc: ~pukkamustard/eris@lists.sr.ht, 52555@debbugs.gnu.org Received: via spool by 52555-submit@debbugs.gnu.org id=B52555.16438001706732 (code B ref 52555); Wed, 02 Feb 2022 11:10:02 +0000 Received: (at 52555) by debbugs.gnu.org; 2 Feb 2022 11:09:30 +0000 Received: from localhost ([127.0.0.1]:51615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFDVy-0001kW-AQ for submit@debbugs.gnu.org; Wed, 02 Feb 2022 06:09:30 -0500 Received: from michel.telenet-ops.be ([195.130.137.88]:38916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFDVs-0001kK-Vz for 52555@debbugs.gnu.org; Wed, 02 Feb 2022 06:09:29 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id qB9N260064UW6Th06B9NZD; Wed, 02 Feb 2022 12:09:22 +0100 Message-ID: <3d9821d7eac6c81a5b1c8a5304a78ec733b2dba4.camel@telenet.be> From: Maxime Devos Date: Wed, 02 Feb 2022 12:09:17 +0100 In-Reply-To: <865ypxinr8.fsf@posteo.net> References: <20211216161724.547-1-pukkamustard@posteo.net> <20220125192201.7582-1-pukkamustard@posteo.net> <37651a21b0699b78b0282284b7d7322cb1a8c320.camel@telenet.be> <865ypxinr8.fsf@posteo.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-noX5Y9B6YAsVjwOxOeWJ" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1643800163; bh=d45rL6MZKnyXVm+Ug4TV+anvWpdYdx3V7sd4kQXVO7Y=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=nI24bLWVPf9T5fiulJEh819cP8e3goFFfMkxexawOZMvjXFtOVgM7n39D3AhG22+V 1e6gfXvJn1DfrHYJYvHhmX/x8p+sizVGCOVz0woKfhoS6NLS+z22hNd1oeZIAj1/q4 52W5YOroIExw3UnJu2VZQ+Uxlv2bzZ6GxMzHj9yhCO/zVxNF3Tsm92TXOqu/LLF+Rp CWF8JY60K6Qt9v0ERxUU9NC05Wyxf+sXTh10h4oRO5hAQqVFYr92/HsuoCbv8JJTqU DcMBCdQV8wNo+aWgiS5wPMKHKSRHZfWdDyzAvgi17jQ3mtlNSnb6uB5HoyHriaEL71 e/G3XWnYPoiNw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643800232; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=d45rL6MZKnyXVm+Ug4TV+anvWpdYdx3V7sd4kQXVO7Y=; b=a/SpHlqGyGbw/2tXc76gujWYJF/P6q56cK1XdR1ejcogHIV/e1iVHX5ia2E2Uc3plGy4uw Jx4FRgWlyVC3r7BsCtgK4lSmdbAKojxVwTlxglgcfMUUysrrK2wVkMkuZ7L/Qu32GzjaSZ /KlMiwessOCRj/8Q43WrhL74l+6ZrGjqfgYerd6erpoPmjVUscanOSHpsKjEMb/L2uOB+z nQXwHc9q8q6x+/KlFQ+2ExZgO/SGXDlWWXhvevxDVIFS4EC5Er+URcIKt42vcrNB6Pnegl hpmWb0lEGjShRIuIsqZMJ3DBqqgSmPzbpBmuVTdBFiWm+94oZbVOHrilJS+AWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643800232; a=rsa-sha256; cv=none; b=b3rfKTgV4t83r8RZn7BIU+lPUDtBjW95jplEejytoAA8XOsOk5nLe9hED3bmrvtvUD65sX M6yJAv//jUNCinAl6eNt1xQO6p2u0TLkW4M8ECepD8fB0s2jyV9ygBtSkHYrhgmSAmZiYq XZ4IhNCQkanD9Mw0k+h+SBxtEZWYLA3rqgdRQVqzFRqtTXeBMPRszMRaLcUntYfS0XcC15 vyXZ7ICCY0APujsWrqdOFeJwjojvoz/ADbfTicFMD7/yp0qAkeTtrzzZSOWPk03seYuomG K1R3va68zaQTSFonZKehVDB0pHK0JSpPtnlyvPoJBe8MuGIcJqpYeISCeCVZ/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=nI24bLWV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=nI24bLWV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 451F637318 X-Spam-Score: -5.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: EfHC+QgLrXYX --=-noX5Y9B6YAsVjwOxOeWJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable pukkamustard schreef op wo 02-02-2022 om 09:56 [+0000]: > Maxime Devos writes: >=20 > > [[PGP Signed Part:Undecided]] > > pukkamustard schreef op di 25-01-2022 om 19:21 [+0000]: > > > I will be looking into the HTTP fallback and also using BitTorrent an= d GNUNet > > > as transports. > >=20 > > I have been writing a (Guile) Scheme port of GNUnet's client libraries > > (https://git.gnunet.org/gnunet-scheme.git/). Currently only NSE is > > supported, but I'm working on DHT. DHT search/put already works to a > > degree (see examples/web.scm), but there are plenty of sharp edges > > (see TODOs about disconnecting, reconnecting and stopping fibers, > > and see guix.scm for Guile bugs that are patched out and extra guile- > > fibers features). >=20 > Very interesting! I have been following your work on that a bit. >=20 > From what I understand gnunet-scheme interacts with the GNUNet services > and sends messages to the various GNUNet services. Is that correct? Yes, it works like the C GNUnet client libraries, except it's in Guile Scheme and a few different design decisions were made, e.g. w.r.t. concurrency. > Have you considered implementing the GNUNet protocols themeselves in > Guile? I.e. instead of connecting with the GNUNet services and sending > messages, implement R5N completely in Guile. I didn't, at least not _yet_. As-is, things are already complicated enough and the client code seems a lot simpler than the service code. Though perhaps in the future ... E.g., for testing the DHT service, the test code effectively creates a tiny, limited, in-memory DHT service (not communicating to any peers) that's buggy in some respects (not yet committed, but will be in tests/distributed-hash-table.scm). > IMHO this would be very nice as one could use GNUNet protocols completely > in Guile and not rely on the GNUNet C code. While it's not a priority, I'm not opposed to someday implementing the services in Guile and testing whether they can communicate with C peers. However,=C2=A0keep in mind that GNUnet is supposed to be able to eventually replace the TCP/IP stack, and running the DHT, NSE, NAT, FS, CADET, TRANSPORT ... services in every web browser, in every mail client, in all "guix substitute" and "guix perform-download" processes, etc. is rather wasteful (memory-wise and CPU-wise), so I'd prefer this not to be the _default_ option. (I'm not sure if you were referring to that.) Greetings, Maxme. --=-noX5Y9B6YAsVjwOxOeWJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYfpmXRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7mEeAPwOAn/O9DonokYiuo2Yq5+oLnHK fIr8apEPKdTzy/O5sAD/TeShsCEUX0+DdtJF1xDXsYY4uRDd1ubLC/dowbvehA8= =I6pm -----END PGP SIGNATURE----- --=-noX5Y9B6YAsVjwOxOeWJ--