From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oJWgLh/X4mZ5DQAA62LTzQ:P1 (envelope-from ) for ; Thu, 12 Sep 2024 11:57:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oJWgLh/X4mZ5DQAA62LTzQ (envelope-from ) for ; Thu, 12 Sep 2024 13:57:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="gu/KBfez"; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=o+rbWrtJ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726142239; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=tKPxz2vB8+xWLTc1enGm9pYW/WdHQ0SnJGkxCeJUOVY=; b=MKRNmkFb/DxTW2VpuY3xHPJEeTkhaALstu/JY95u7JK472v7NiokZSmV/fBpCvVUA4F3lU 5cNZBr6V4PgRre7Th915m0PuL8G3cHmo61xPRGKZM/IoIGxc3UEgh0FrF55F7IxjT7K2Ep QLZEVnbCKXAMovCxA0pNR6JoXyne3pHi4DyBd4bmjR42FuyMtelVRq8meroJOq75rf4Krx rcOtiuVaEtoXIHA71KWUaAUiLObT0yCENw/i4AUkQQtFMM22td3LL1iyv4qQ+vxqcBEKdC 83SS4awVs7d/jEzm/tfxRbGwCR4ykmXiLyP8FbHVj4eVOzEObG0j52A/v+jmmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="gu/KBfez"; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=o+rbWrtJ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726142239; a=rsa-sha256; cv=none; b=g163sfBKT4r3u/g0Weh0MOxfFx/q/IPL8Opt4+5NG4BHTF3tBmRZ1rIYCL+N9PJVpLL7NV WMyQv0AbY0OKvbP36foQ+0N0akdXah7MEJlwZrWDwCkwVnQcC6zweGc5Khn1myVRkyxtBz p5tX4nlO8I18cSMulkv0aT5iEuPvx7f6/9krtzdWByyU0YASmZKIod3sjHozyiN81LyvpM NOZ2C1M3exLbprsZ719bFEGxxKrHvNBkehpQjDYW31tCsrV7rC3pAk0NWZWJ73jkOcBCoZ IA1a9S2fFrLQtaiGDoFlz3J78G9nMYa4rIyg4Gci0SU/np8/MGuKO3XnZ8KCjg== 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 9C84D6BF8D for ; Thu, 12 Sep 2024 13:57:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soiRW-0006I2-OD; Thu, 12 Sep 2024 07:56:58 -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 1soiRT-00069H-3h for guix-patches@gnu.org; Thu, 12 Sep 2024 07:56:55 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soiRS-0003ie-Nm for guix-patches@gnu.org; Thu, 12 Sep 2024 07:56:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=tKPxz2vB8+xWLTc1enGm9pYW/WdHQ0SnJGkxCeJUOVY=; b=gu/KBfezQ+y0r8PkGBgpJotdXui1ISpzRO2dSUmLfXuI3zfuYaQYk7BwC4d9WnOtIbsUVmGpiFrRAKQGqKA+/EmskYj8KjtWhBHUpXx36S+GwyF6r7PWbtqoNgA2OMMBQA/jwA0p7jkxcWjsZKh6YD0i+2a6reEXpEPVi0N4rY+jwgZAGQndCg73xf6xRPa5rHe7L19BPdlwxWCxZQ4B/ynbQzgpG4oJYvj6yz6KJS0O2rdI9n4ZuOT9HRefkX+b0C4GZMi7l8t7ip8s93v0RMx6LR9/twjYdfB9k9VAXH8qBWMhu6Cg7i5V5jRyZjEsnXNMWq9zDY2WofMB8kvpPg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1soiRa-0005Gc-8m for guix-patches@gnu.org; Thu, 12 Sep 2024 07:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73000] [PATCH] substitutes: Reduce default negative TTL values. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Sep 2024 11:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73000 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , 73000@debbugs.gnu.org, Christopher Baines Received: via spool by 73000-submit@debbugs.gnu.org id=B73000.172614221920233 (code B ref 73000); Thu, 12 Sep 2024 11:57:02 +0000 Received: (at 73000) by debbugs.gnu.org; 12 Sep 2024 11:56:59 +0000 Received: from localhost ([127.0.0.1]:40331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soiRW-0005GH-Ni for submit@debbugs.gnu.org; Thu, 12 Sep 2024 07:56:58 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soiRU-0005G1-6c for 73000@debbugs.gnu.org; Thu, 12 Sep 2024 07:56:57 -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 1soiP8-0003S7-I4; Thu, 12 Sep 2024 07:54:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=tKPxz2vB8+xWLTc1enGm9pYW/WdHQ0SnJGkxCeJUOVY=; b=o+rbWrtJm/POWwZ1vA5I r2xqNX5UaONvFJXAeVjUUeihAsFpaF7z6YftKjbufGZzJFdTDCbMFPWZk00vr7vwi56I3vjP86ZZO ba2d6/s86PWBghFm4TuuKYKW5xo6T9s5lIkY8SSvXelh9+5ycycR8kbvqs72+Oiw3A8UKG89MemPB z0wbYudC0F4NMoh5rEa1tj3UQm2AF/alsvAtEOGqTkXqHdBhsdMJFxAZfwT9wwfzJ1scSKwqumrAO cGkbXRC9Cj2FiJYlPz1RfGK3YAQtbGty1tvNS49oxApN9dvZrZc8qdjg8PXDORjayhden7JKlzsIu IE2WcQ5umRLXUA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87frq5w0zg.fsf@gmail.com> (Maxim Cournoyer's message of "Thu, 12 Sep 2024 20:44:03 +0900") References: <3d6f66db85fe8d87f7f01e67873769616dc71d83.1725356627.git.ludo@gnu.org> <87y13zelu1.fsf@gmail.com> <87frq5w0zg.fsf@gmail.com> Date: Thu, 12 Sep 2024 13:54:20 +0200 Message-ID: <87mskdjdeb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9C84D6BF8D X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -7.59 X-Migadu-Spam-Score: -7.59 X-TUID: lYobEJtK8H1z Hello, Maxim Cournoyer skribis: > I don't actually have a well formed opinion on the values, but I trust > that if Ludo found them annoying, the change must be good. Yes, for context, these defaults are particularly annoying in the context of Cuirass and the Build Coordinator where, if a substitute isn=E2=80=99t available at a given point in time, you may want to retry. F= or this scenario, you=E2=80=99d have to wait for at least 10mn by default beca= use =E2=80=98guix substitute=E2=80=99 attempts to retry. Besides, I think I added negative TTLs back in the day to help reduce load on substitute servers and to speed up clients in cases where you run the same or similar commands several time in a row. A short TTL can be useful, a longer not so much. At any rate, it doesn=E2=80=99t matter all that much since it=E2=80=99s jus= t a default: servers can advertise their own negative TTL, including zero, via the =E2=80=98Cache-Control=E2=80=99 HTTP header. Ludo=E2=80=99.