unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Simon Tournier <zimon.toutoune@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Cuirass actors
Date: Thu, 14 Sep 2023 17:33:48 +0200	[thread overview]
Message-ID: <87led893c3.fsf@gnu.org> (raw)
In-Reply-To: <86bke5w8o8.fsf@gmail.com> (Simon Tournier's message of "Thu, 14 Sep 2023 08:49:59 +0200")

Simon Tournier <zimon.toutoune@gmail.com> skribis:

> 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?

Yes.

> The Build Coordinator also implements the other actors “channel
> updater”, “evaluator”, etc., right?

No.

> From my rough understanding, the first aim of Build Coordinator is the
> implementation of the “builder”.  Is it correct?

Yes.

> 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?

Yes, you give it derivations and it builds them; as for what its
scheduling strategy is, I don’t know!

>  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?

Yes, that’s exactly the message I tried to convey.  :-)

Thanks,
Ludo’.


  reply	other threads:[~2023-09-14 15:34 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
2023-09-14 15:33   ` Ludovic Courtès [this message]
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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87led893c3.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).