From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id KEizMalmEGRBaAAASxT56A (envelope-from ) for ; Tue, 14 Mar 2023 13:20:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ML6zMKlmEGRzawEAG6o9tA (envelope-from ) for ; Tue, 14 Mar 2023 13:20:57 +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 97F7A28076 for ; Tue, 14 Mar 2023 13:20:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pc3df-0006fs-JH; Tue, 14 Mar 2023 08:20:23 -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 1pc3dc-0006fW-2o for guix-devel@gnu.org; Tue, 14 Mar 2023 08:20:20 -0400 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pc3dY-0002RC-8C; Tue, 14 Mar 2023 08:20:18 -0400 Received: by mail-qv1-xf35.google.com with SMTP id t13so3571931qvn.2; Tue, 14 Mar 2023 05:20:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678796410; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=1iNNxDOVFStDOB/xPLJeguYYLxIU75KPbR9soK5LpZ4=; b=Z3364pC4+u0e4fjnuGTe0sTn2P5AfdPizr9gLDZ0VbD48z+ud1mMIoZbOg+IIj+Xim LTduNMT/p5m2rIlsoELmaRewnL4aJjd5su60mjMtJHDij1NMn+gALSh7O10Cm1QmpW+b Tzo34nv01ZpwK9B6goF2pD982uTS2on3/IEUlqVb/3/zCWwIeLss1eMtBL81RJ2WxyCB DTkWQ1Mb6vrl0R18+KVy4u+UJYIqD47Hds5tWbr59go0r0IMPOKqsX/2WwipAAgaOfMJ x1MJ+9l7RkndKfFw8yuFgOBDHBlQAibK4mYLADd0WRT93IjK/ypu5pJNQjKOeAlQNcrV jQMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678796410; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=1iNNxDOVFStDOB/xPLJeguYYLxIU75KPbR9soK5LpZ4=; b=5OLRbo7W1ZStzMbKfeGPVX9BtcmKO4RdYcI1/ICd0AQGMapKChE6ek1z+MEiB57hLs 8qbDdHymk23s6V2OF29PcdVbb/iFIa28VTlEpbide0BZas6TFkWbG2lbPjAT0CnDA8bY 7X4YvzjAtXceD72GxgbEZJdI3XyjnvlOleEZbLYXPMPotbaRKChpDTiEr+ot83Zq/xyE HKWrtrvQnnOtr/wkxvW6UJ4a7EHC83yOKLvxhIxTHtkYG6Zj4+ZhHuLTJoHf18/OCNOB 9AbfxEPvbPjWiXx4cZeYBsmFnlSS8Ep6IwtGI4oCZbnKc8h7RugAU+tYfuwCQ1IJoWb/ Io5Q== X-Gm-Message-State: AO0yUKWAsBKmAXUoiuNpr4M04gNV2mWteg4HfbWm1NefJasm3qp28tCf pOeWhcIreCQZARU/jmlEifBWdaEjwyKS7g== X-Google-Smtp-Source: AK7set939T8O1e/DMMJmtgnJN8susXqsVCfmPLAPCw/nhpSDQPSsi62orwpZYzJlJU6XXI3B1LikGA== X-Received: by 2002:a05:622a:54e:b0:3b8:52b6:a313 with SMTP id m14-20020a05622a054e00b003b852b6a313mr60569200qtx.30.1678796409585; Tue, 14 Mar 2023 05:20:09 -0700 (PDT) Received: from hurd (dsl-10-132-94.b2b2c.ca. [72.10.132.94]) by smtp.gmail.com with ESMTPSA id c186-20020a379ac3000000b007456c75edbbsm1609018qke.129.2023.03.14.05.20.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Mar 2023 05:20:09 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Subject: Re: The =?utf-8?Q?=F0=9F=90=91?= Shepherd gets a service collection References: <87mt4gzl55.fsf@inria.fr> Date: Tue, 14 Mar 2023 08:20:07 -0400 In-Reply-To: <87mt4gzl55.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Mon, 13 Mar 2023 17:11:34 +0100") Message-ID: <87o7ovo77s.fsf@gmail.com> 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 Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf35.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, 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: 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Z3364pC4; 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=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678796457; a=rsa-sha256; cv=none; b=fmDOSmphs7fNTIh2TWNCuAOQfzu/fA51sdF1nwNy9al9BnEJf0s3J/IM6H0oD0jCk2UJf1 7jQLzoCKpZ5YlHrXLu/bl9I9/rjLWP+bw3PxbgtZeJIjCPMiehSmagHkzSW286pn+7vue+ 10xeSaiVUOZxXR5BO6KDpq/vfpMmknig2cEMamLbYmT9H3WNhWlLT/TVNMi4h1o8vIPKeX qYE5ZDbZA47Gqr0UxKBF05xYLzf955cnaEzGzp2VGjOo8qKzhpgKEwsjnZAQvojmeHA+IC +35rN+7Rtx7ZgRjCkyXdmTUk/2f3LKoPaXAshSreME/TNGUk8e2etBy+QFvLKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678796457; 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=1iNNxDOVFStDOB/xPLJeguYYLxIU75KPbR9soK5LpZ4=; b=qEUNaP1h4yz72z95he3slqjRckysHtrPbaLKHd1IhkGrKYB3TPWe08C16N//CxKdYlWyPG /lCnWyg17EUxLwRjne5elIN6Vp8YpsVmwU9K/JBE4BD91H7JVrOnFVjB1phueO2KhneIfn 6nUaJ1IVEdH8IXeDlefkdkcHAfCdDtTk9oV285PzjHfVkO8CRZbPQx3xf9pOn+0bl34KDo 50PIh48+XtrLb5Gdd8zl5LH3U6JFH1uEbe23dDxivcW/3B4q2wTtOdPoxF+fwsJmvp4MVW NZA/t9qm8z2OGiv16P8MNbVkD+RBtGtx98Ao360Nh+ociBmxF3w3M0gnF9Rkvw== X-Migadu-Spam-Score: -6.46 X-Spam-Score: -6.46 X-Migadu-Queue-Id: 97F7A28076 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Z3364pC4; 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=pass (policy=none) header.from=gmail.com X-TUID: pliOf35NIjX3 Hi Ludo! Ludovic Court=C3=A8s writes: > Hello Guix! > > I pushed some changes yesterday that confirm that the Shepherd paves the > way for init system innovation, synergistic cross-domain fertilization, > and delimited continuations: > > https://git.savannah.gnu.org/cgit/shepherd.git/log/?id=3D31d21fa083872d= 500c016b6b3b2587d25510702d > > 31d21fa * Add REPL service. > cd6f3fb * comm: Add 'open-server-socket'. > c64804f * Add resource monitoring service. > > These new services are built into shepherd, allowing users to control it > and to fiddle with it. The REPL is functional but of course a bit > bumpy: you=E2=80=99d better know what you=E2=80=99re doing. > > I imagine we could develop more convenient services like this, such as a > basic command scheduler similar to the =E2=80=98at=E2=80=99 command, and = a syslogd > implementation. The latter could be nice for a couple of reasons: > logging would happen from the start and till the end (an improvement > over the external syslogd process), and it could let us provide a nicer > user interface to view logs (taking inspiration from that of > =E2=80=98journalctl=E2=80=99). > > Thoughts? Ideas? While I also find the journalctl interface to be convenient, the underlying database logs is costly in terms of storage and complexity (I remember comparing it to a simple, non-compressed text file, and to my surprise the later used less space even the systemd logs are supposed to be compressed, if I remember correctly). I think it had to do with all the keys having to be stored for each message, even when they don't contain anything useful. It'd be nice if Shepherd didn't end up with that same caveat, should database logs be implemented. Thanks for improving Shepherd! --=20 Maxim