From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id VKiaGwQoA2Xp2AAAG6o9tA:P1 (envelope-from ) for ; Thu, 14 Sep 2023 17:34:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id VKiaGwQoA2Xp2AAAG6o9tA (envelope-from ) for ; Thu, 14 Sep 2023 17:34:28 +0200 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 3CAE7FEE5 for ; Thu, 14 Sep 2023 17:34:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=NG3B2uZs; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694705668; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=6F8W4dOvw6Fl/GRMDwar7afaoNmXp7Dxol9hJY7dLnU=; b=pWUggVfH0qwSdJBJNqtrUEiB7v0Zim8NQovGk9UsT8iVSgnwV11DuaiaCiHBJVjRSRMPmd 0f/0HUGix5aSSDHDDCIr3chQy7Cgju8JNXFK91IqETJtiF0wbdsPVZk6J2plG1wbyz2bBp A49AyRIF4sgy44MqCaoXwEpMWhtHyvuxngtwwWU1DKUrnKZemybPY+Ghkn54Yn1hQsnU1y BAliruuB14MM3APfQiR2/IHdXWiauSFhZ3rW5uWcKQ/d32/SCSrAUovVmwytAtW6SmOPGo wvqB6J0kJlQpr4D42fR+mIiDLU9gzltIqFfHdL0sz/fwRFaTokgfXnl6I1R6oQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694705668; a=rsa-sha256; cv=none; b=r9MnTArHMl1/WDIq6UVjCaC21s3lQEjKC+r5MiLLADEK67cL1Il1lFutH/FAJ3FR968OWp iiI8IfUaHuZmEHVrKieittQ699zFZpfLmI0cZSPsVIXluZ80pdX/jIZttxh1guMhCwP37/ vHWECVXtqhaRoKKtsWg9Mx7onjSHeUKE8aOrebMMo3trX5Be4fk59f3kzZcqCyt9a20SZx 9lGsU+SyLLly54Kq/6j8G7oI2C7IWnAv14HmGYBqhGDj55X1X8k6I/40v3hEF7zlGChqKN hoSRCfctDwZdFyZWSStcFHlq/xX2OtF0slaF1zj3zoBB7yOoo87FeAzOX6uTJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=NG3B2uZs; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qgoLp-0000OM-Rc; Thu, 14 Sep 2023 11:33:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qgoLn-0000O1-95 for guix-devel@gnu.org; Thu, 14 Sep 2023 11:33:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qgoLn-0003aM-10; Thu, 14 Sep 2023 11:33:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=6F8W4dOvw6Fl/GRMDwar7afaoNmXp7Dxol9hJY7dLnU=; b=NG3B2uZsUyVD41/Cdous LMeFhUllirBtHdnPDF8Q0dTR81yGvoProIb0XpdmkDmhMDTwjNCzpN+ThlHOabqdSAaGfGsgFbZgB pxQZP8i0YpNEduilrQIyr6Uzieb6iJWbkQZFqrVqHjOXHqQd24D3xZls7knRkMS738k6j+0IcNBKz v4ye1P6ijLGczbHybj86d5Qd//nEIeOEJJonhRrj/5OYcOPu+NAucZacummrT0HS0jN/7NZRsdtx/ ZRrtSUvbEHBCBhCYj/4KhPDrbnJ2hf4SUmYL2rCKxK2Jx7TICSIntMWQ9/L8sNmZ9qFpARON53q2Y DJVhu5HEQmp6DQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Cc: guix-devel@gnu.org Subject: Re: Cuirass actors References: <87r0n1ixxl.fsf@gnu.org> <86bke5w8o8.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 28 Fructidor an 231 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour du =?utf-8?Q?Ma=C3=AFs?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 14 Sep 2023 17:33:48 +0200 In-Reply-To: <86bke5w8o8.fsf@gmail.com> (Simon Tournier's message of "Thu, 14 Sep 2023 08:49:59 +0200") Message-ID: <87led893c3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.01 X-Spam-Score: -8.01 X-Migadu-Queue-Id: 3CAE7FEE5 X-Migadu-Scanner: mx0.migadu.com X-TUID: BL0d7jvuW0vS Simon Tournier skribis: > IIUC, the current two =E2=80=9Cbuilder=E2=80=9D backend are: > > + local =E2=80=99guix-daemon=E2=80=99: the queue of derivations is proce= ssed using one > strategy =E2=80=93 the one implemented in C++, > > + =E2=80=99cuirass remote-server=E2=80=99: the queue of derivations is p= rocessed using > another strategy =E2=80=93 implemented in Guile relying on ZeroMQ (som= ething > like steal of work, if I remember correctly). > > Is it correct? Yes. > The Build Coordinator also implements the other actors =E2=80=9Cchannel > updater=E2=80=9D, =E2=80=9Cevaluator=E2=80=9D, etc., right? No. > From my rough understanding, the first aim of Build Coordinator is the > implementation of the =E2=80=9Cbuilder=E2=80=9D. Is it correct? Yes. > My two questions are: > > 1. Is the Build Coordinator able to only process the queue of > derivations? (being a =E2=80=9Cbuilder=E2=80=9D backend). And if ye= s, what is its > strategy for processing? Yes, you give it derivations and it builds them; as for what its scheduling strategy is, I don=E2=80=99t know! > 2. In this picture of actor model, would it make sense (or would it be > possible) to replace the =E2=80=9Cbuilder=E2=80=9D actor from the Cui= rass one to the > Build Coordinator one? Yes, that=E2=80=99s exactly the message I tried to convey. :-) Thanks, Ludo=E2=80=99.