httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Plüm, Rüdiger, VF EITO <ruediger.pl...@vodafone.com>
Subject Re: Possible new cache architecture
Date Tue, 02 May 2006 10:16:36 GMT


> -----Ursprüngliche Nachricht-----
> Von: Graham Leggett 
> > * Don't block the requesting thread when requestng a large uncached
> >    item, cache in the background and reply while caching 
> (currently it
> >    stalls).
> 
> This is great, in doing this you've been solving a proxy bug that was
> first reported in 1998 :).

This already works in the case you get the data from the proxy backend. It does
not work for local files that get cached (the scenario Niklas uses the cache
for). The reason it does not work currently is that that a local file usually is
delivered in one brigade with, depending on the size of the file, one or more
file buckets.
For Niklas purposes Colm's ideas regarding the use of the new Linux system calls
tee and splice will get handy (http://mail-archives.apache.org/mod_mbox/apr-dev/200604.mbox/%3c20060429150343.GA10265@dochas.stdlib.net%3e)
as they should speed up such things.

Regards

Rüdiger


Mime
View raw message