[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CDN performance
Re: CDN performance
Fri, 14 Dec 2018 11:35:37 +0100
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Chris Marusich <address@hidden> skribis:
> Ludovic Courtès <address@hidden> writes:
> Judging by that email thread, one of the reasons why Debian considered
> using a CDN was because they felt that the cost, in terms of people
> power, of maintaining their own "proto-CDN" infrastructure had grown too
> great. I believe it! I think it would be ill-advised for the Guix
> project to expend effort and capital on building and maintaining its own
> CDN. I think it would be wiser to focus on developing a decentralized
> substitute solution (GNUnet, IPFS, etc.).
> That said, I still think that today Guix should provide a third-party
> CDN option. For many Guix users, a CDN would improve performance and
> availability of substitutes. Contracting with a third party to provide
> the CDN service would require much less effort and capital than building
> and maintaining a CDN from scratch. This would also enable the project
> to focus more on building a decentralized substitute solution. And once
> that decentralized solution is ready, it will be easy to just "turn off"
> the CDN.
> I also understand Hartmut's concerns. The risks he points out are
> valid. Because of those risks, even if we make a third-party CDN option
> available, some people will choose not to use it. For that reason, we
> should not require Guix users to use a third-party CDN, just as we do
> not require them to use substitutes from our build farm.
> However, not everyone shares the same threat model. For example,
> although some people choose not to trust substitutes from our build
> farm, still others do. The choice is based on one's own individual
> situation. Similarly, if we make a third-party CDN option available and
> explain the risks of using it, Guix users will be able to make an
> educated decision for themselves about whether or not to use it.
That summarizes the situation very well.
In Paris, there was consensus on two things: that a CDN would be helpful
for performance and availability (though availability could suddenly be
worse if we run… out of money), and that it raises privacy concerns.
Based on this, some suggested having a way to opt out of the CDN
distribution: for example, we might make ci.guix.info point to the CDN
and also advertise berlin.guixsd.org as a way to bypass it.
Of course in parallel we want to do our best to develop decentralized
> However, I believe you when you say that it's slow the first time you
> download the substitute from berlin. What path does the data take from
> its origin through berlin? If berlin needs to download the initial file
> from another server, perhaps the connection between berlin and that
> server is the bottleneck? Maybe we should discuss that in a different
> email thread, though.
On the first hit, nginx fetches the file from ‘guix publish’, which is
also on berlin. ‘guix publish’ gets the file from local storage and
passes it with sendfile(2), so it’s as fast as can be.
Thanks for the info!
Re: [PATCH 0/3] Defaulting to ci.guix.info (aka. berlin.guixsd.org), Amin Bandali, 2018/12/03
Re: [PATCH 0/3] Defaulting to ci.guix.info (aka. berlin.guixsd.org), Mark H Weaver, 2018/12/03
Re: [bug#33600] [PATCH 0/3] Defaulting to ci.guix.info (aka. berlin.guixsd.org), Andreas Enge, 2018/12/04
- Re: CDN performance, (continued)
- Re: CDN performance, Meiyo Peng, 2018/12/21
- Re: CDN performance, Chris Marusich, 2018/12/13
- Re: CDN performance, Giovanni Biscuolo, 2018/12/13
- Re: CDN performance, Mark H Weaver, 2018/12/14
- Re: CDN performance, Giovanni Biscuolo, 2018/12/19
- Trustworthiness of build farms (was Re: CDN performance), Mark H Weaver, 2018/12/20
- Re: CDN performance, Marius Bakke, 2018/12/21
- Re: CDN performance, Ricardo Wurmus, 2018/12/24
- guix.gnu.org sub-domain, Ludovic Courtès, 2018/12/14
- Re: guix.gnu.org sub-domain, Chris Marusich, 2018/12/15
- Re: CDN performance,
Ludovic Courtès <=
- Re: Using a CDN or some other mirror?, Giovanni Biscuolo, 2018/12/13
- Re: Using a CDN or some other mirror?, Chris Marusich, 2018/12/14