Re: Instant Mirror Status...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arthur Pemberton wrote:
On Mon, Sep 22, 2008 at 12:36 PM, Gregory Maxwell <gmaxwell@xxxxxxxxx> wrote:
On Mon, Sep 22, 2008 at 12:58 PM, Les Mikesell <lesmikesell@xxxxxxxxx> wrote:
Is there still no way to make yum default to behaving intelligently by
itself in the presence of a caching proxy?  All it really needs to do is use
the same mirror as the last person chose so the URLs will match.
How would it know?


Well unless its a transparent proxy, yum.conf will have the proxy variable set.

Or you might have http_proxy set in the environment. Normally a proxy will add headers to the response - the hard part is knowing which server from a mirrorlist has the URL's already cached. If there is no way to compute a first choice based on a hash of something like the proxy server name from the header when you request the mirrorlist, it might be worth having a central server somewhere that could coordinate things. A quick database hit seems like a reasonable tradeoff for a huge reduction in mirror server bandwidth. Or an external server that could see the IP address of the proxy could pick a first choice from the mirrorlist based on that without storing anything.

--
  Les Mikesell
   lesmikesell@xxxxxxxxx

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux