From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludovic.courtes@inria.fr (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: =?utf-8?B?4oCYZ3VpeOKAmQ==?= commands can talk to remote daemons Date: Fri, 21 Apr 2017 19:32:50 +0200 Message-ID: <87a879br99.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1cQU-0005ck-4a for guix-devel@gnu.org; Fri, 21 Apr 2017 13:32:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1cQQ-0004RK-SA for guix-devel@gnu.org; Fri, 21 Apr 2017 13:32:58 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:35950) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d1cQQ-0004Pm-J3 for guix-devel@gnu.org; Fri, 21 Apr 2017 13:32:54 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel Hello Guix! With what I committed today, it is possible to make =E2=80=98guix=E2=80=99 = commands talk to remote daemons, either using the raw protocol (unencrypted, unauthenticated) or over SSH: GUIX_DAEMON_SOCKET=3Dguix://guix.example.org:1234 guix build foo GUIX_DAEMON_SOCKET=3Dssh://alice@guix.example.org guix gc It=E2=80=99s pretty fun but there=E2=80=99s a couple of caveats: 1. It=E2=80=99s slow. This is because the protocol with the daemon curre= ntly incurs a lot of round trips. We should probably redesign some of the RPCs to be more efficient and pipelinable. 2. (guix derivations) may try to access .drv files in the local store when it should really be accessing files from the remote store. The store abstraction on the client side may have to be extended to address this. That=E2=80=99s it. Feedback welcome! Ludo=E2=80=99.