Welcome! Log In Create A New Profile

Advanced

Re: proxy_cache_use_stale, updating question

Maxim Dounin
October 27, 2009 09:46AM
Hello!

On Tue, Oct 27, 2009 at 02:30:24PM +0100, Tomasz Pajor wrote:

>
> >>Hello,
> >>
> >>If I understand the code correctly, when I don't have the cache
> >>file, request is going directly
> >>to upstream, so when I have 100 request at the time when I don't
> >>have the cache file yet, all
> >>those requests will go to upstream servers, am I correct?
> >Yes.
> Wouldn't it be better to send only one request, and tell other to
> wait for the page when updating is set?

Yes. This is called "busy locks" in mod_accel, and usually
referenced here under the same name. It's planned but not
implemented in nginx yet.

Maxim Dounin
Subject Author Posted

proxy_cache_use_stale, updating question

Tomasz Pajor October 27, 2009 08:58AM

Re: proxy_cache_use_stale, updating question

Igor Sysoev October 27, 2009 09:06AM

Re: proxy_cache_use_stale, updating question

Tomasz Pajor October 27, 2009 09:34AM

Re: proxy_cache_use_stale, updating question

Igor Sysoev October 27, 2009 09:44AM

Re: proxy_cache_use_stale, updating question

Tomasz Pajor October 27, 2009 10:00AM

Re: proxy_cache_use_stale, updating question

Igor Sysoev October 27, 2009 10:10AM

Re: proxy_cache_use_stale, updating question

Tomasz Pajor October 27, 2009 10:28AM

Re: proxy_cache_use_stale, updating question

Maxim Dounin October 27, 2009 09:46AM

Re: proxy_cache_use_stale, updating question

TonyT January 28, 2010 02:57AM

Re: proxy_cache_use_stale, updating question

timotta July 24, 2012 10:24PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 323
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready