httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plüm, Rüdiger, VF-Group" <>
Subject RE: mod_cache: store_body() bites off more than it can chew
Date Mon, 13 Sep 2010 14:18:46 GMT

> -----Original Message-----
> From: Graham Leggett 
> Sent: Montag, 13. September 2010 16:04
> To:
> Subject: Re: mod_cache: store_body() bites off more than it can chew
> On 13 Sep 2010, at 1:14 PM, Paul Fee wrote:
> > Retrieving bodies from the cache has a similar scalability 
> issue.  The
> > CACHE_OUT filter makes a single call to the provider's  
> > recall_body().  The
> > entire body must be placed in a single brigade which is 
> sent along the
> > filter chain with a single ap_pass_brigade() call.
> This isn't a problem for the cache, as the cached content is 

It is not a problem for mod_disk_cache as you say, but
I guess he meant for 3rd party providers that could only deliver
the cached responses via heap buckets.
And unlike an handler in the same situation the cache providers
recall_body cannot run multiple passes through the outputfilter chain
with multiple smaller brigades.

> passed as  
> a single FILE bucket.



View raw message