From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sOUnBh+Yol+hOgAA0tVLHw (envelope-from ) for ; Wed, 04 Nov 2020 12:01:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cCIHAh+Yol9bSgAA1q6Kng (envelope-from ) for ; Wed, 04 Nov 2020 12:01:35 +0000 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 D259F940111 for ; Wed, 4 Nov 2020 12:01:34 +0000 (UTC) Received: from localhost ([::1]:32958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaHTp-0002of-Li for larch@yhetil.org; Wed, 04 Nov 2020 07:01:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaHTd-0002mQ-KO for guix-devel@gnu.org; Wed, 04 Nov 2020 07:01:21 -0500 Received: from mout.web.de ([212.227.15.14]:33477) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaHTa-0006E0-DH for guix-devel@gnu.org; Wed, 04 Nov 2020 07:01:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1604491265; bh=MQRZfXEjaNDCFuGOFzRFsmjXKy3Q147Z//+EfPqkrKI=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=VvlsJzHjPRmtWhMipuajbczjmfVEokRGyPpxr0vdWGIY/SnnUuiayStld4LLmy4ll faSDeQXi5b3WV/y5Yy+ozqL7/xsrQAxxEp3NC0t+neQ3/MRs2vZdt4VAMhP6bk52ym IrqTzYWhrk6ATTwrq4gE98FOTqt2aiKZx5Fozvcs= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.178.54] ([5.146.192.20]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LaTdP-1jvClq0cff-00mKQm for ; Wed, 04 Nov 2020 13:01:05 +0100 Subject: Re: Make guix-publish's URL identical to cache file name To: guix-devel@gnu.org References: <87o8kdpl0z.fsf@pengmeiyu.com> From: Jonathan Brielmaier Message-ID: <4a98c618-2c97-0889-62de-9e3bb5815735@web.de> Date: Wed, 4 Nov 2020 13:01:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.4.0 MIME-Version: 1.0 In-Reply-To: <87o8kdpl0z.fsf@pengmeiyu.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:2hBV20k63qsg4QEjKB7o+AwToz+dQaG0o0/fdwYIL8nsQd/CXlC qKSMnjn0YCYRqUWkBYqbgvrdjMevf1TRGTHOIvuCqbG5k8D2SPbtwr1zQQmNAU9jyQrWo+E DuG/vxqyN+p/iYmIsiEA5VRpUvvpWDSrkiroY0eSqdIU+T0QYLfSI4LvvKFu3gQDsCEbw89 Pq68iJtzU/+gQUhKwjIgg== X-UI-Out-Filterresults: notjunk:1;V03:K0:b3+i+agF7XM=:hEFaDr1W4iLGLhN7AWa9Jh zwSRbA1LPkEVjIn1GeW+/EU9LQrh7qdTUL20KPKvCNkeU5fNoqXRegVWqeewCTrxfV9rvpz61 gCQGZxTBvhMUY6TmgGYIo82jGVK7IkuEWukLnANI6JC5rDa/EP6WPK04758+WYCT8aCpYvlL2 91pZ3YIACl743Z5vxY5ikI07cFm2k+ggPnKvu5NDDXgFWcNWzh9RDeXfr6KVTsIn43OTOB1ZG 4jFZ1KhJh1f8ZycZJXbJdQRVAAPvPbJdzX4LJkc9pWeLVarf8EOHq4TU1jOIFJzOzk1pQqeQH A7NuATbFNapBO5+oFbi7BjS70bCOLVg92FwCJXXITKoX/2CL/mjIKGi4JBSmVblq4WtlUlCc9 3uERA96VeIhd4TthpzfDM4on8DmiwFb5SYLlgi4aYRXgtB6OUsKLtxZqVLVh4db73pYK+w6Cg 4vekwYZviLZ/VGqzt8dFwsoRe5LibdQqlDUd3BEQKlbwW+IH1YzBUk1Y0w8EwYkFcVpuwBp5o JPMPS90AsYj6Ypla7QbMCl84df8dztii+4YKmhJ5ubOw4y93U+3ecWgU7F7+IdwUSx7wYX/2M eYgEc/VcYNcDwIZGirUxlO6v9DSxmW63kBZFK9w14tMdByk7lAAtpeNvbu44BNuHlTsC65PbI 8CoAON5n9qIahE7xDE2/YgONC6t+jUvMbWXWM5Q4kPpgiWiyvDzO0WK/+nS/pVdNjSe4jxmpK aOguWaJlo7rwLw1eiTG2X0bwpHelcTuJAVniqBpFUOjUrpDy5N98NBxXfMpEHN3mH1J5h0wys r712oTJvb6zFSCQ+9VXCJwOXv2JlvXHKiOLDni/gxrP84wmTQLYm9mS/SUO/DDTDkqLsKoxV1 /2OwH/1nR/YXtqUuI1XB1FsdkMMqdtQNrSZ8jkqOeEeikHRTJd1CvBPe9wVKnB/tdo5K7RNu3 vd2XygOPZqfxB9oc+MCyf1jPeRH63v6nf6VeywmAgCVGVcAaPqsMa Received-SPF: pass client-ip=212.227.15.14; envelope-from=jonathan.brielmaier@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/04 07:01:05 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=dbaedf251592 header.b=VvlsJzHj; dmarc=pass (policy=none) header.from=web.de; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -0.21 X-TUID: 8d9VqZglX9Oj Hi Peng Mei Yu, first of all a big thank you for making the Guix experience in China much nicer! I'm running myself a smaller cuirass+publish server and I have configured the caching on the nginx side and not with `guix publish`. So my cache resides in: /var/cache/nginx/nar/ For me it has a dramatic speed up on my German server reaching from Germany. So 2-3MB/s on a cold cache hit versus a hot cache with 15MB/s and even more. Maybe you can give that a try. I'm not sure if it does help as you said you are a bit limited by the bandwidth... On 04.11.20 09:46, Peng Mei Yu wrote: > I have to decide next year's server specs and budget for > mirror.guix.org.cn before the Chinese shopping festival ends on November > 11. If the proposal above is doable, I will keep mirror.guix.org.cn > running for half a year and help academic mirror sites add support for > Guix in the meantime. Otherwise I prefer to buy a prepaid three years > VPS with a 90% discount during the shopping festival. The discount is > huge. I don't want to miss it. I think we should discuss if Guix can support your effort money wise. AFAIK we have decent fundings available. ~Jonathan