From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8EJ1L7409mNSGgAAbAwnHQ (envelope-from ) for ; Wed, 22 Feb 2023 16:29:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oDupL7409mMVPwEA9RJhRA (envelope-from ) for ; Wed, 22 Feb 2023 16:29:02 +0100 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 99C38A603 for ; Wed, 22 Feb 2023 16:29:02 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=worcester-edu.20210112.gappssmtp.com header.s=20210112 header.b=hVzdaGd+; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677079742; a=rsa-sha256; cv=none; b=TTla38axQWS1WZhseiji4mQHF2UXVmtCuYNT4vJPG2SlIGhgbFutjFy/VPaIchEYd89ymK tyKuqaGV2p4hyduXIVqsrvyMDuEJ/4m6GB8nrAHK7ySP1YIQyr3euzvprp/STOfNQsE5ON qgsUK0HuEzX/+tVtew2lFjdKMiZJ8SvF27eHG0emB0hyvEyMyLx/9RHnb1yQ9CDgEEkf+a RnIlmFlhGNkMTrZqvYBljZPbJf7UG6SK5vMt0joh7fJvrljkB7+cwOoYgNBgA+vBZ9aLIB 0EZpXh8+V5v8/K1fxlYXQa8AtPyOwlk7ZoVwXBahSzWTGNhppDogFvvIoq6ugg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=worcester-edu.20210112.gappssmtp.com header.s=20210112 header.b=hVzdaGd+; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677079742; 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=F0AZb1EvtXSUxmixBkI2R/cydN8Em6Upet8EAV/DRks=; b=FPQHvzFG0o7Vzf4LTVzq9B7oCUc7+zQXO/myMt9Rwh+Xm6racqA1qQMBTMSHlaZoWsL+Yi T/AQaufuMi3V4yavr6XWg9CkB2+x9JGNUDhK8BRja+ExN5uVr2tL9tS4LzZ2xJIbEyOJ/h xq7TVM5QXiXc/SafTIkGmxGfFyXs6Y3R9ZQM6LcpxYDufSdnpx6wZUKUylAvd9424Vo538 Y3wcObUewRjCXwrn5zzaZmi6ChqNSnmf6s8I8vuxm16dV9XgLECxG8pSXnx8l8AhJNQdut l5xGs1ipT3Q2RWxKo2ma1RKE85D4BrJly1AAoLWmdKUHjpgXLhAMOOF+gOBnng== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUr2l-00030T-GW; Wed, 22 Feb 2023 10:28:31 -0500 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 1pUr2e-000304-48 for guix-devel@gnu.org; Wed, 22 Feb 2023 10:28:28 -0500 Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pUr2a-0005z1-K0 for guix-devel@gnu.org; Wed, 22 Feb 2023 10:28:23 -0500 Received: by mail-qv1-xf36.google.com with SMTP id oj14so8797590qvb.0 for ; Wed, 22 Feb 2023 07:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=worcester-edu.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=F0AZb1EvtXSUxmixBkI2R/cydN8Em6Upet8EAV/DRks=; b=hVzdaGd+Qhxkc40vqCUR/9DjhD0qFTrcyZoJh1Dsw18bOVYw5tDcXKOg0EO/QlaXPV x1fjj2Pd+cHiTFXWjnq2O9TeLESuueuoFo438Ie98chp6ky/jTu1+6A4V8Ltt9t9Viqu LTz0ysLkdFxcqtBnu4fObZton0UJvZaG7uU6ZncW133bQ9SPKM6I6qU+1yLB5UBW8GNt bbTNDU7CxTT6rLq3kpAECOSiYALc6mbQnAjc7RoviQCjhXDurFp1XDMAtV8ZvNSDHytW z7hoaegOBDwVGDU+1gabPqtBhbeFwnR4hlMDPAXUl5jGbjPRzDXymuqtdrehKUG8D75S ULrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=F0AZb1EvtXSUxmixBkI2R/cydN8Em6Upet8EAV/DRks=; b=EXJIk0YSaHZ+cO/TkAU39/KNsjbZEclrTMxKkAIfd6g/tzd6jINUhFhxM9X3bOb3sc zkBDS4R8PXt8dD3rTQzagYWvcmzO95OilGDEcPzR7NDNJcoTD7fQAC0d1fuT+qvm6yH+ K+WnqxDTOvdyvxPDg+bGlX8XOutsaWZQY7yiUXtLwPKNf9WknnoNRP0GKwNwHXhB/oJg U0OB+Q6UDa3FKuQjdsTeTHYdglU9giEOVWY6ubdt3oxnO7BzIDUn8YgyRAF2JJiJcVeG 013MQSHBT8YAN59MnmtMtMBdQ7rS7ajKQeCGtz8WRUtRT6wja2Tn/EoVBo8kXOBCmLdY fwIA== X-Gm-Message-State: AO0yUKVes42syzsA/z5Yz2l6jz6ZaKLVyzzVSmywv5axpf5GSKSAkm6j iRbHwqIQDU/3y3yiS2+IE01EKpSAyXN1n48byWQ4dBPO1/1cag== X-Google-Smtp-Source: AK7set+B9HB/MzJ+fh4gAvc0eQqXolu4Q10CALi23MPH08JxbU4FgMbhU4Hcv+RhoxOnloGoIAyNMaBebwMr+/8vRkk= X-Received: by 2002:a0c:ca14:0:b0:56e:a1cc:bbb3 with SMTP id c20-20020a0cca14000000b0056ea1ccbbb3mr1647065qvk.42.1677079694643; Wed, 22 Feb 2023 07:28:14 -0800 (PST) MIME-Version: 1.0 References: <87wn4aekth.fsf@gnu.org> In-Reply-To: <87wn4aekth.fsf@gnu.org> From: "Thompson, David" Date: Wed, 22 Feb 2023 10:28:03 -0500 Message-ID: Subject: Re: Shepherd news + planned feature removal To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: guix-devel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::f36; envelope-from=dthompson2@worcester.edu; helo=mail-qv1-xf36.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: X-Migadu-Queue-Id: 99C38A603 X-Spam-Score: -5.75 X-Migadu-Spam-Score: -5.75 X-Migadu-Scanner: scn0.migadu.com 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-TUID: E+0rei3xaAv4 Hi Ludo, On Tue, Feb 21, 2023 at 5:07 PM Ludovic Court=C3=A8s wrote: > > Hello Guix! > > I recently pushed an updated and rebased variant of > =E2=80=98wip-service-monitor=E2=80=99 in the Shepherd, previously discuss= ed here: > > https://lists.gnu.org/archive/html/guix-devel/2022-06/msg00350.html > > I=E2=80=99m going to merge it real soon if there are no objections, with = the > goal of using it as the basis for 0.10.x and hopefully soonish 1.0.x. > > The main news are: > > =E2=80=A2 Services can now be in one of 4 states: stopped, starting, st= arted, > and stopping. (Previously it was just started/stopped.) > > =E2=80=A2 =E2=80=98herd status SERVICE=E2=80=99 reports those new state= s. > > =E2=80=A2 =E2=80=98start=E2=80=99 waits if the service was already star= ting; =E2=80=98stop=E2=80=99 waits if > the service was already being stopped. > > =E2=80=A2 Services are now started in parallel, to the extent possible. > > Internally, the big change is that, in addition to a =E2=80=9Cservice reg= istry=E2=80=9D > actor (a fiber and associated channel where it receives requests), each > service has an associated actor (likewise, a fiber) that handles > service-specific operations such as =E2=80=98start=E2=80=99 and =E2=80=98= stop=E2=80=99. I find it > aesthetically pleasing and fun to work with; incidentally, it should > sound familiar to the goblins among us. :-) > > There=E2=80=99s a couple of shepherd features that I=E2=80=99d like to re= move: > =E2=80=9Cpersistency=E2=80=9D (sic), and the =E2=80=9Cunknown=E2=80=9D se= rvice. These things were added > in the early days of dmd ca. 2003 but they=E2=80=99re totally untested, l= ikely > broken, and probably useless. If you have objections, now=E2=80=99s the = time to > let it be known. > > Feedback welcome! All of these changes sound like welcome ones to me! Love the use of actors for managing services. Feels kinda like Goblins meets Erlang! I hope it proves to be a robust change. - Dave