From: Simon Tournier <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>, guix-devel@gnu.org
Subject: Re: Cuirass actors
Date: Thu, 14 Sep 2023 08:49:59 +0200 [thread overview]
Message-ID: <86bke5w8o8.fsf@gmail.com> (raw)
In-Reply-To: <87r0n1ixxl.fsf@gnu.org>
Hi,
It is really cool! :-)
On Wed, 13 Sep 2023 at 23:08, Ludovic Courtès <ludo@gnu.org> wrote:
> - The "builder" spawns derivation builds. There are currently two
> implementations: the local builder sends build requests to the local
> 'guix-daemon' process, while the remote build delegates builds to
> 'cuirass remote-server'.
[...]
> With this actor split, one could implement another “builder” backend,
> for instance one that talks to a Build Coordinator process.
IIUC, the current two “builder” backend are:
+ local ’guix-daemon’: the queue of derivations is processed using one
strategy – the one implemented in C++,
+ ’cuirass remote-server’: the queue of derivations is processed using
another strategy – implemented in Guile relying on ZeroMQ (something
like steal of work, if I remember correctly).
Is it correct?
The Build Coordinator also implements the other actors “channel
updater”, “evaluator”, etc., right? From my rough understanding, the
first aim of Build Coordinator is the implementation of the “builder”.
Is it correct?
My two questions are:
1. Is the Build Coordinator able to only process the queue of
derivations? (being a “builder” backend). And if yes, what is its
strategy for processing?
2. In this picture of actor model, would it make sense (or would it be
possible) to replace the “builder” actor from the Cuirass one to the
Build Coordinator one?
Cheers,
simon
next prev parent reply other threads:[~2023-09-14 7:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-13 21:08 Cuirass actors Ludovic Courtès
2023-09-14 6:49 ` Simon Tournier [this message]
2023-09-14 15:33 ` Ludovic Courtès
2023-09-14 12:50 ` Thompson, David
2023-09-14 15:31 ` Ludovic Courtès
2023-09-14 15:59 ` Thompson, David
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86bke5w8o8.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/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 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.