From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: bug#26201: hydra.gnu.org uses =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?publish=E2=80=99?= for nars and narinfos Date: Thu, 23 Mar 2017 20:25:44 +0100 Message-ID: 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wQgDkXpQf8pEMS9qaTEMkQRQl3iR3UKfM" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cr8M3-0007Q6-O6 for bug-guix@gnu.org; Thu, 23 Mar 2017 15:25:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cr8M2-0006wA-91 for bug-guix@gnu.org; Thu, 23 Mar 2017 15:25:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cr8M2-0006w6-5u for bug-guix@gnu.org; Thu, 23 Mar 2017 15:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cr8M1-0007gP-Sq for bug-guix@gnu.org; Thu, 23 Mar 2017 15:25:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87fui50xws.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: ludo@gnu.org Cc: 26201@debbugs.gnu.org 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--