httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Edmundsson <ni...@acc.umu.se>
Subject Re: [PATCH] mod_disk_cache working LFS (filecopy)
Date Wed, 27 Sep 2006 13:08:02 GMT
On Wed, 27 Sep 2006, Graham Leggett wrote:

> On Wed, September 27, 2006 11:07 am, Niklas Edmundsson wrote:
>
>> In practice this isn't enough when dealing with large files, so in our
>> production code (the hideously large jumbopatch) this is fixed by
>> read-while-caching and spawning a thread to do the caching in the
>> background while delivering the response (by read-while-caching) to
>> the client that initiated the caching.
>
> A thread makes sense for platforms that support threads, but we would need
> some kind of functional behaviour for platforms that don't have threads.
> Would the option of spawning a process to copy the file also work, leaving
> the original process to read-while-cache the response for the benefit of
> the client?

We have code for it, it's just untested since we're using the worker 
mpm. We'll deal with that when I get to those patches.

/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke@acc.umu.se
---------------------------------------------------------------------------
  Dyslexia rules KO.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Mime
View raw message