From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iEV6DaJbo18+dQAA0tVLHw (envelope-from ) for ; Thu, 05 Nov 2020 01:55:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +MhQCaJbo18zEAAAB5/wlQ (envelope-from ) for ; Thu, 05 Nov 2020 01:55:46 +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 ECB9F9402A2 for ; Thu, 5 Nov 2020 01:55:45 +0000 (UTC) Received: from localhost ([::1]:51412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaUV6-00046E-QV for larch@yhetil.org; Wed, 04 Nov 2020 20:55:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaUUx-00045o-Pt for guix-devel@gnu.org; Wed, 04 Nov 2020 20:55:35 -0500 Received: from mx1.riseup.net ([198.252.153.129]:52386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaUUv-00048T-9b for guix-devel@gnu.org; Wed, 04 Nov 2020 20:55:35 -0500 Received: from bell.riseup.net (bell-pn.riseup.net [10.0.1.178]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4CRRRq1f9hzFf3k; Wed, 4 Nov 2020 17:55:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1604541329; bh=X+NIy8zgnbYUB/O/hxXxsCQ1ktAcLIHeRwomMqeGLGw=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=C9S6k3ekiFakLhq0Gkwj3hEK0wAOXM8oM0ysTv/v3aMubtn8FJb9tBKozAxKBuCLj xhTsjygac/TSMP15VLpm8acEFXx9wPHtjVXExv4LxfXZ0YJQdOezCrpZBIkJX9ue9p xEXT4RgE69G4f/0Qz+QRxX9QSjDls7OGSlu7ygqo= X-Riseup-User-ID: C15B3D11C0D41AED67C2A10C20AFCBE02A3E6BF7E4669CC4F604CE4BEDECB905 Received: from [127.0.0.1] (localhost [127.0.0.1]) by bell.riseup.net (Postfix) with ESMTPSA id 4CRRRp2KP6zJqyB; Wed, 4 Nov 2020 17:55:15 -0800 (PST) Received: from localhost (captain [local]) by captain (OpenSMTPD) with ESMTPA id 09f677f6; Thu, 5 Nov 2020 01:55:02 +0000 (UTC) References: <87o8kdpl0z.fsf@pengmeiyu.com> <4a98c618-2c97-0889-62de-9e3bb5815735@web.de> From: Peng Mei Yu To: Jonathan Brielmaier Subject: Re: Make guix-publish's URL identical to cache file name In-reply-to: <4a98c618-2c97-0889-62de-9e3bb5815735@web.de> Date: Thu, 05 Nov 2020 09:55:02 +0800 Message-ID: <87lffgpnyh.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.129; envelope-from=pengmeiyu@riseup.net; helo=mx1.riseup.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/04 20:55:31 X-ACL-Warn: Detected OS = Linux 3.11 and newer [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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=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: , Cc: guix-devel@gnu.org 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=riseup.net header.s=squak header.b=C9S6k3ek; dmarc=pass (policy=none) header.from=riseup.net; 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: -1.71 X-TUID: Yn63IqO7IAHk Hi Jonathan, Jonathan Brielmaier writes: > 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... I am perfectly fine with any method to setup a mirror site. But the academic mirror sites I am talking about only want a simple approach. They want to pull files with rsync, rclone, or FTP and serve files with static HTTP server. If we make Guix's mirror as simple as that, I am confident I can persuade more mirror sites to support Guix. > 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. That would be great. Although I still think letting academic mirror sites do the job and saving the money would be better. As I said, the ISP cost in China is expensive and academic mirror sites have plenty of bandwidth and storage resources available. -- Peng Mei Yu