httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: cache: the store_body interface
Date Tue, 31 Oct 2006 15:34:30 GMT
On Tue, Oct 31, 2006 at 03:17:18PM +0200, Graham Leggett wrote:
> On Tue, October 31, 2006 2:31 pm, Joe Orton wrote:
> 
> > To determine writability of the output filter chain is not as simple as
> > exposing writability of the socket.  An output filter may block on
> > writes because it is blocked on a read from the (writable) socket, this
> > happens with SSL for example.
> 
> True, but this is not a showstopper. Keep in mind that it's advantageous
> to "try very hard" to cache the entire backend as soon as possible, but
> this doesn't have to be perfect in every case. If the socket blocks, the
> backend is delayed, and we are not as efficient as we theoretically could
> be. Oh well.

I see little need to care about non-blocking writes at cache level in 
that case, just whack up SendBufferSize and be done; zero lines of code 
needed, and zero hours of developer time wasted talking about it.

joe

Mime
View raw message