all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ‘guix’ commands can talk to remote daemons
@ 2017-04-21 17:32 Ludovic Courtès
  0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2017-04-21 17:32 UTC (permalink / raw)
  To: guix-devel

Hello Guix!

With what I committed today, it is possible to make ‘guix’ commands talk
to remote daemons, either using the raw protocol (unencrypted,
unauthenticated) or over SSH:

  GUIX_DAEMON_SOCKET=guix://guix.example.org:1234 guix build foo

  GUIX_DAEMON_SOCKET=ssh://alice@guix.example.org guix gc

It’s pretty fun but there’s a couple of caveats:

  1. It’s slow.  This is because the protocol with the daemon currently
     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’s it.

Feedback welcome!

Ludo’.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-21 17:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-21 17:32 ‘guix’ commands can talk to remote daemons Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.