Akins, Brian wrote:

> FWIW, nginx "buffers" backend stuff to a file, then sendfiles it out -  I
> think this is what perlbal does as well.  Same can be done outside apache
> using X-sendfile like methods.  Seems like we could move this "inside"
> apache fairly easy.  May can do it with a filter.  I tried once and got it
> to filter "most" backend stuff to a temp file, but it tended to miss and
> block.  That was a while ago, but I haven't learned anymore about the
> filters since then to think it would work any better.
> 
> Maybe a mod_buffer that goes to a file?

mod_disk_cache can be made to do this quite trivially (it's on the list
of things to do When I Have Time(TM)).

In theory, a mod_disk_buffer could do this quite easily, on condition
upstream writes didn't block.

Regards,
Graham
--

Reply via email to