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 ms5.migadu.com with LMTPS id 2GvAHt6Sl2K/AQAAbAwnHQ (envelope-from ) for ; Wed, 01 Jun 2022 18:25:02 +0200 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 CJPTHd6Sl2IIFwAAG6o9tA (envelope-from ) for ; Wed, 01 Jun 2022 18:25:02 +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 2CE7729F11 for ; Wed, 1 Jun 2022 18:25:02 +0200 (CEST) Received: from localhost ([::1]:40428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwR9Z-0000Tp-CN for larch@yhetil.org; Wed, 01 Jun 2022 12:25:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwR95-0000Ta-Qp for guix-devel@gnu.org; Wed, 01 Jun 2022 12:24:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38524) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwR94-0006CD-GV; Wed, 01 Jun 2022 12:24:30 -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=8Uv16jpDZ7fG9aNtT1HvTb2dxwLZViWxle2qpxAq1uY=; b=WuXlvPvfWVw5vHDfl3dz oaOKHiEDEiqqrLfFMKNrrIawk9c0NsDRyBexsYK2z45WRSk2nOsWWzFRIBQgGQdqyRKJBPo1qVtJH RFhjh3H/lu3mGPv8faTE0J6KCkCvcFnkh8w7zLSCSeDK3Dde1um891UllhjPI8YOBOvvUXWCkpahN dGBUYM3uFfVJQJ6ue8RN3QppqmeFGUJ1ixcXaxpzb6Sj0pWeqjMvC5NdbB6hrzlFfjghD1ipq56VK /HFvEOuPUKqhNQXQUxE0fgQpCjm9oh/4XqviWuzxKsj4yfTkwh5aV2JoRCEr8oGC3G30TiNDc2Q2+ Gqzfa/JATUx5IQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:65315 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwR94-00017S-3l; Wed, 01 Jun 2022 12:24:30 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Arun Isaac Cc: zimoun , Olivier Dion , jgart , Guix Devel , Mathieu Othacehe Subject: Re: Cuirass and SQL References: <20220524182656.GB31176@gac> <877d69hf6u.fsf@laura> <87mtf5o32q.fsf@systemreboot.net> <878rqncpkf.fsf@gmail.com> <87wne6m4e5.fsf@systemreboot.net> <87wne310kf.fsf@gnu.org> <87sfoqdec9.fsf@systemreboot.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Tridi 13 Prairial an 230 de la =?utf-8?Q?R=C3=A9volu?= =?utf-8?Q?tion=2C?= jour du Pois 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: Wed, 01 Jun 2022 18:24:28 +0200 In-Reply-To: <87sfoqdec9.fsf@systemreboot.net> (Arun Isaac's message of "Tue, 31 May 2022 00:42:38 +0530") Message-ID: <87tu94uzb7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654100702; 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=8Uv16jpDZ7fG9aNtT1HvTb2dxwLZViWxle2qpxAq1uY=; b=LcMFuqOBLP3L/4RGC/wc4WnfsZAQPLGIhtUlitiAT809KnI62nnh4PNEx8sRlXnrqbkwp/ qRmG+wKh68Ga0mUjlC4V7dFQ9M1432qbaIQuu7kirBKoaQpkaCInEbiN9M1TmkBW9GoWIX +H58a05MjLFTeMQyLb46VNlzH7VeK9H7JArnGBwytlBe3sWyy2R4a9dobotQ70I8x7SAcL FgrWH98ClOhdm9qXqLOxG1eG0pBGXnjZBfyOIvaXD4tzvTklU6X+SLcDj2GSKMbsO7KngB f11sxQDZzwq1JHJBhmIipk4VbbYUZi/tb1WhCLqAC9idquPGDuLpscWo22Jk3A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654100702; a=rsa-sha256; cv=none; b=cPidyTj4v5XuGCURkAi02DCKycJmg0Nde6yL7GEgUuIashhJc+BKcBC5ylmMBKnaBmU69X VNvCxaoDRI8tHC+Q22qJ4nSkrR/OUvn7PuMuxpum/awA3dhjbQlB5eo+1gUw6AU5OlF/9h 60nW2AaHbIaSguMuaYEFAlYVK1QJbXLbnEtltRFWqNzdjWjuavyHFWaiBe5Sp/V1nJTR/D Gn+WY3yil0z4XbeSqoJxX9CBDVnS1h9avhLI3+4nUnVITkQIeKFkFG/MKW0hHPf4WIeJV8 d1QKEbe+wKw0ud8r9Z2Mk/9ptn6QPemmYl7PobzWus5ruv6KpfRK8aYCjYNWcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=WuXlvPvf; 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" X-Migadu-Spam-Score: -3.73 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=WuXlvPvf; 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" X-Migadu-Queue-Id: 2CE7729F11 X-Spam-Score: -3.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7KNmcWS6ZofQ Hi, Arun Isaac skribis: >> Years before, Hydra (https://nixos.org/hydra) also dropped its SQLite >> backend in favor of PostgreSQL only. >> >> Like you, not being a database person, I liked that SQLite was easy to >> deploy and had a clear model: it just touches this one file and that=E2= =80=99s >> it. > > Exactly! :-) > > If we use guile-dbi, it should be possible to support both sqlite and > postgresql. Popular projects like Nextcloud do allow the user to choose > their preferred database system. But, then again, Cuirass is built for > very large scale. So, perhaps it is best to not try and also cover the > small scale end. That too was my understanding some years ago. :-) But then I discovered that in practice, you optimize for a specific DBMS. The way you=E2=80=99d optimize a Postgres or an SQLite database for = your application can be quite different. An abstraction wouldn=E2=80=99t let yo= u do that. > Scale may not be an issue at least for the CI. Unlike Guix which needs > to rebuild the entire world of software, most other software are only > going to have a handful of jobs---easily less than 5 or less than 10 in > the worst case. So, even if we trigger all these jobs on every commit, > the total number of runs will easily be manageable with sqlite. Yes, could be! Thanks, Ludo=E2=80=99.