www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <i...@cnet.com>
Subject Re: Streaming and a slow client
Date Fri, 31 Aug 2001 20:42:53 GMT
On Fri, 2001-08-31 at 11:32, Graham Leggett wrote:
> Ian Holsman wrote:
> 
> > so are you suggesting we download the file first into our local cache,
> > and then serve the file from there?
> 
> Almost.
> 
> > that won't work for streaming, as the client would have to wait for
> the
> > whole file to be present before it would get a single byte.
> 
> Not at all.
> 
> You download the file to the local cache, and *while* this is happening,
> you send the file downstream to the browser *at the same time*.
> 
> Effectively you read from the backend and write to the file, and at the
> same time you read from the file and write to the network.

is this working at the moment?

so all I need is a way to tell the cache not to actually 'cache' the
result for the next request and I'll be happy

..I
> 
> It is very important that this happens as it fixes a bug. The v1.3 cache
> has a problem where until an entity is downloaded in full, multiple
> requests will be made to the backend until at least one copy of the
> entity has been downloaded in it's entirety and cached. Up to this point
> there is a nasty load spike. The design of the new cache fixes this. 
> 
> Regards,
> Graham
-- 
Ian Holsman          IanH@cnet.com
Performance Measurement & Analysis
CNET Networks   -   (415) 364-8608


Mime
View raw message