From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8AD9Lx/Y4mbhDAEAe85BDQ:P1 (envelope-from ) for ; Thu, 12 Sep 2024 12:01:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8AD9Lx/Y4mbhDAEAe85BDQ (envelope-from ) for ; Thu, 12 Sep 2024 14:01:35 +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=mxDQFEy6; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=a2Xcsma8; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726142495; 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=hruFS8sebsWkBaPoMxNvm+jlK2UDdBHL6tYLy1qzFAc=; b=EVI+si/o+u/Yp+o5Q5HbeyLCoST30cS/zdeAwDzSLAPXu/F/lGFKZSm/+Ff7l2HqiE5pHq ZGL/tRZ7lbnVV5oWrBXG238ffI3yDroEI35Gd6r3mnzV1mkDUeuliUSw2SutIUvnhYacbh W0r1BxEzbmycm6UgnmMtlJTe2gPRa0OXVwyRcjxEfCSSY+CQKhj5PwYzg41OyzKB+dLVaH V3tAikE6s9EerCg1MBS8p/fH1x7o8lAVa0w9kDO1WhIwFi1G60e3vPci3lufMkUvb2ni4p yDoERDnrskoqSScKJ6oZQLAI6zNt/RZEC0puQyk5qWx/l5If3aNPHMD62KTG4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726142495; a=rsa-sha256; cv=none; b=ponBQEkdr/QgKe0eE+gLH7h49k+yqoIMX1+W1CgtB9LW3iGm3VQxbNDGdnuKzHAfPdqiNh 2CrefmovKyp2u/hDaGxAVZxpqdWrYEU9kOYLXDph6agJyjUPkp8Q2S2Yt93vQ/gtEplwZL D2DvR4E5xMeWC+FrgsD96oa209SnTJYRzkYjBtK7lcdtzz9ynQhmxoyq+yIK4wKLSwEiST 7YNbzc+OMfXHrmxuHYSMgNF65PQTuFhhOcN/BWncTWbw3GmWl7EsKLR0slRDqiQao+TtWA kvAml/VsF9Zw+VGpG8wTAp35c2wcqtLO0uqnp0+Ql/TYGfKNEiDhmbKiIlMxdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=mxDQFEy6; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=a2Xcsma8; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) 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 5524F7D7E2 for ; Thu, 12 Sep 2024 14:01:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1soiVH-0002ob-Up; Thu, 12 Sep 2024 08:00:52 -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 1soiUN-0001yu-63 for guix-patches@gnu.org; Thu, 12 Sep 2024 07:59:57 -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 1soiUM-0004CM-TP for guix-patches@gnu.org; Thu, 12 Sep 2024 07:59: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=hruFS8sebsWkBaPoMxNvm+jlK2UDdBHL6tYLy1qzFAc=; b=mxDQFEy6hSgBmZKkEisWmrjbPrdgVSuE6Dfox9Yrcr98dGq4nrvVJPShuwYkJrtNmanjm1cLT8K+HymvU0pI1jNmwObKCNcumqbuVZFBrPb/6/7YGWvj/B8P0eVJv66PBrsY8EagyCE1BZMBfgXZ1rnjdccj9BXFHPeRWr6CnxFK1S1nxGm6OJ/MyP322wo27uuoSNWmskLpPk208CTElImKwp1Iuo8sBMicka9q54UqhMOwkKITWfg9AgJhtRiAVivWRu9s9LeOR+FztHrSsriQ+xMTIZ95NomVlaYfzDEA7ZB4nQAU3aCxNdMFfffFIi+ARh16Mgy4hwwexpknKw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1soiUU-0005MI-IF for guix-patches@gnu.org; Thu, 12 Sep 2024 08:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73000] [PATCH] substitutes: Reduce default negative TTL values. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 Sep 2024 12:00: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= 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.172614237220504 (code B ref 73000); Thu, 12 Sep 2024 12:00:02 +0000 Received: (at 73000) by debbugs.gnu.org; 12 Sep 2024 11:59:32 +0000 Received: from localhost ([127.0.0.1]:40335 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soiU0-0005Kd-7q for submit@debbugs.gnu.org; Thu, 12 Sep 2024 07:59:32 -0400 Received: from mail-pl1-f175.google.com ([209.85.214.175]:58651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1soiTx-0005KO-6t for 73000@debbugs.gnu.org; Thu, 12 Sep 2024 07:59:30 -0400 Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-206aee4073cso9744725ad.1 for <73000@debbugs.gnu.org>; Thu, 12 Sep 2024 04:59:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726142295; x=1726747095; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hruFS8sebsWkBaPoMxNvm+jlK2UDdBHL6tYLy1qzFAc=; b=a2Xcsma8a/v9ij7A8w6/MLP3P/mjatBmVN0JlGSiXAZ3uLKB9BVheEv/Z7hvHj1Wj9 Koijz0b2T1SqtKWDxAOGlfVagEHrE79m+ltHms1KnLDOP8++SUrqSAZbHyT9DInFiZpZ N0zhdl0onliSNm5Pgr8sgAuugYAA0QlkqC940RyqtZbnJWN09Mt9xwGsDedlT1KLs3TG paNoLJ6KcJLLLPOj+psYxOkDteshXkNMgDMEz1EKtG7Is2ymjwCWV39gEx3gwr7esny3 Mgx7lFfnaAz/Fkb2e9lDHRlKQhUcEFQaeyzyMnrjBNFi+187JEYJUl/kDxUDVlSHZRUU VHtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726142295; x=1726747095; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=hruFS8sebsWkBaPoMxNvm+jlK2UDdBHL6tYLy1qzFAc=; b=lbrYq1N12CeUZozVcrB4lUFzT9K8xD3NthuNCZUvVw7wfvfJfqP2fe+EmXR4ZlpY9U BU9ynEn6+UiX3uLpqMjhVV3d2117PUo2FXfzlb6U28WcbKT8cDNz7Xs7pnN7I2rRURfh Mf1z8TOhNvkU2NsH4vDYJ4OLTs0UVBU+h1mS1ZzVJaYggNn5tByppoZW/+s1dK6z4tw0 P9YrPhs+omnGjEpQ6MPbQBPDLgnogU2Ju7uBOsEmFnOpwmXy8zuIIzDYxQBygS4nwMYU bDQXcM/7BpunoA5V6GeKP0x5c8dvTTv6kUy70pOSpYcLGRdRtFF9CUutjz+0rdJp5c5J ZUvg== X-Forwarded-Encrypted: i=1; AJvYcCVV1FHdu8iOnTJBG6fcF+1v/rsaKH/00Lumf60h02ezEGAFF6gWusLYB4bHUADVEt6enCqLPg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzVcWL0VJhmSkUdTOmmwiLEl7Cp33YQl7i1ouDOhCgxgP71biMK eLs/5wVvTLZv1sXbn3GUbMzW4Bd48H5AbbUD82N5XH3yQubwcHdI X-Google-Smtp-Source: AGHT+IGVWpbKojkkGPXe2xZ0x1Y+u1baSm5sAIqo7Idy8TL+P2hCYdRs98i2PaCCDl4Bq1y3LxkOIg== X-Received: by 2002:a17:903:32cf:b0:207:1828:3570 with SMTP id d9443c01a7336-2076d62674fmr39946275ad.0.1726142295347; Thu, 12 Sep 2024 04:58:15 -0700 (PDT) Received: from hurd ([2405:6586:be0:0:c8ff:1707:9b9:af89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2076afe9a38sm12993575ad.218.2024.09.12.04.58.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Sep 2024 04:58:14 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <87mskdjdeb.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 12 Sep 2024 13:54:20 +0200") References: <3d6f66db85fe8d87f7f01e67873769616dc71d83.1725356627.git.ludo@gnu.org> <87y13zelu1.fsf@gmail.com> <87frq5w0zg.fsf@gmail.com> <87mskdjdeb.fsf@gnu.org> Date: Thu, 12 Sep 2024 20:58:11 +0900 Message-ID: <87bk0tw0bw.fsf@gmail.com> 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.92 X-Migadu-Queue-Id: 5524F7D7E2 X-Spam-Score: -8.92 X-TUID: MeGyobQCFtWp Hello, Ludovic Court=C3=A8s writes: > 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. = For > this scenario, you=E2=80=99d have to wait for at least 10mn by default be= cause > =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 j= ust a default: > servers can advertise their own negative TTL, including zero, via the > =E2=80=98Cache-Control=E2=80=99 HTTP header. Thanks for the explanation; it makes sense. --=20 Thanks, Maxim