From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 23 15:24:55 2017 Received: (at 26201) by debbugs.gnu.org; 23 Mar 2017 19:24:55 +0000 Received: from localhost ([127.0.0.1]:41344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr8Lv-0007g1-FH for submit@debbugs.gnu.org; Thu, 23 Mar 2017 15:24:55 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:40748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cr8Lt-0007fr-QJ for 26201@debbugs.gnu.org; Thu, 23 Mar 2017 15:24:54 -0400 Received: from mfilter10-d.gandi.net (mfilter10-d.gandi.net [217.70.178.139]) by relay6-d.mail.gandi.net (Postfix) with ESMTP id CD012FB88B; Thu, 23 Mar 2017 20:24:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter10-d.gandi.net Received: from relay6-d.mail.gandi.net ([IPv6:::ffff:217.70.183.198]) by mfilter10-d.gandi.net (mfilter10-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id FyG4qKntx7Ja; Thu, 23 Mar 2017 20:24:50 +0100 (CET) X-Originating-IP: 81.241.166.83 Received: from [192.168.1.24] (83.166-241-81.adsl-dyn.isp.belgacom.be [81.241.166.83]) (Authenticated sender: me@tobias.gr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id E5094FB886; Thu, 23 Mar 2017 20:24:47 +0100 (CET) Subject: =?UTF-8?Q?Re:_bug#26201:_hydra.gnu.org_uses_=e2=80=98guix_publish?= =?UTF-8?Q?=e2=80=99_for_nars_and_narinfos?= To: ludo@gnu.org References: <20170320184449.5ac06051@khaalida> <144e9ba8-af93-fb18-d2b9-f198ae7c11e9@tobias.gr> <20170320195247.05f72fc9@khaalida> <8e7e07d1-563f-666f-2c32-2a772757c86f@tobias.gr> <8760j2wpfy.fsf@gnu.org> <9889a4b5-c300-cd03-1095-1115428067fb@tobias.gr> <87fui50xws.fsf@gnu.org> From: Tobias Geerinckx-Rice Message-ID: Date: Thu, 23 Mar 2017 20:25:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <87fui50xws.fsf@gnu.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wQgDkXpQf8pEMS9qaTEMkQRQl3iR3UKfM" X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 26201 Cc: 26201@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wQgDkXpQf8pEMS9qaTEMkQRQl3iR3UKfM Content-Type: multipart/mixed; boundary="m29Ouruoh7dDAJbA88siIvb3GW0xLoL85"; protected-headers="v1" From: Tobias Geerinckx-Rice To: ludo@gnu.org Cc: 26201@debbugs.gnu.org Message-ID: Subject: =?UTF-8?Q?Re:_bug#26201:_hydra.gnu.org_uses_=e2=80=98guix_publish?= =?UTF-8?Q?=e2=80=99_for_nars_and_narinfos?= References: <20170320184449.5ac06051@khaalida> <144e9ba8-af93-fb18-d2b9-f198ae7c11e9@tobias.gr> <20170320195247.05f72fc9@khaalida> <8e7e07d1-563f-666f-2c32-2a772757c86f@tobias.gr> <8760j2wpfy.fsf@gnu.org> <9889a4b5-c300-cd03-1095-1115428067fb@tobias.gr> <87fui50xws.fsf@gnu.org> In-Reply-To: <87fui50xws.fsf@gnu.org> --m29Ouruoh7dDAJbA88siIvb3GW0xLoL85 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludo', On 22/03/17 23:06, Ludovic Court=C3=A8s wrote: > Tobias Geerinckx-Rice skribis: >> proxy_cache_lock on; >> proxy_cache_lock_timeout 3h; #yolo >> proxy_cache_use_stale error timeout >> http_500 http_502 http_503 http_504; > I didn=E2=80=99t fully understand the docs for the last 3 directives he= re. For > instance, what happens when 10 clients do GET /nar/xyz-texlive? Do the= > 9 unlucky clients wait for 3 hours and then get 404? =46rom =E2=80=98proxy_cache_lock=E2=80=99 [1]: =E2=80=9CWhen enabled, only one request at a time will be allowed to po= pulate a new cache element identified according to the proxy_cache_key directive by passing a request to a proxied server. Other requests of the same cache element will either wait for a response to appear in the cache or the cache lock for this element to be released, up to the time set by the proxy_cache_lock_timeout directive.=E2=80=9D Hmm. Good point: =E2=80=98to appear in the cache=E2=80=99, when we don't = cache 404s or even 410s. I don't actually know. Kind regards, T G-R [1]: https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_loc= k --m29Ouruoh7dDAJbA88siIvb3GW0xLoL85-- --wQgDkXpQf8pEMS9qaTEMkQRQl3iR3UKfM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEqBAEBCgAUBQJY1CE5DRxtZUB0b2JpYXMuZ3IACgkQkczbm0hUG5kgMAf/ae4U S4Xqn6T5S+HKFm1fEORVEiDlCmNqrJcL68w1OyRJrwIBgv4DWwQZCY+v7hmKkYN4 LC1H9PPqS9B6L/oI26lkpbc9hX64J+J4wv0a7HdayJG6O7s8DpDqW9u1Hl5x97cu FnmG3x2FmuJm3OupEOkxlfT10DK9ESZkdbxAefY/EeZNK27ieuDf1hCZVIW8A2IE fHlsqQ/VvlSFlpXvTpUFxCYPyYfp5t2K2d1JwNWHuw5MXRFDbvkTQrhW8xZoeloS t8OGT8A4utokP9dpHK5IgNY+z2KbFBTPLt4/u53RQooZf5Va1w5u5H4KJ2MPdYjB MfCYvhjt1b4Wakyj/w== =irlP -----END PGP SIGNATURE----- --wQgDkXpQf8pEMS9qaTEMkQRQl3iR3UKfM--