Re: kernel.org mirroring (Re: [GIT PULL] MMC update)
From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-08-11 19:30:47
Michael K. Edwards wrote:
On 12/8/06, Linus Torvalds [off-list ref] wrote:quoted
You can't have a cache architecture where the client just does a "get", like memcached does. You need to have a "read-for-fill" operation ...In Squid 2.6: collapsed_forwarding on refresh_stale_window <seconds> (apply the latter only to stanzas where you want "readahead" of about-to-expire cache entries) Brief design description at http://devel.squid-cache.org/collapsed_forwarding/. (I didn't write this code, everything I know about squid leaked through the Google-shaped pinhole in my tinfoil hat, etc. But if you go this way I'd like to be in the loop to understand the scalability issues around netfilter-assisted transparent proxying.)
There is another thing that probably will be required, and I'm not sure if something in front of Apache (like Squid) rather than behind it can easily deal with: on timeout, the process needs to continue in order to feed the cache. Otherwise, you're still in a failure scenario as soon as timeout happens.