Davi Arnaut wrote:
The solution consists of using the cache file as a output buffer by
splitting the buckets into smaller chunks and writing then to disk. Once
written (apr_file_write_full) a new file bucket is created with offset
and size of the just written buffer. The old bucket is deleted.
Without having looked very much at the code, this approach sounds feasible.
I'm still confused as to why we need the temporary brigade??? Why not "swap"
the buckets?
--
Brian Akins
Chief Operations Engineer
Turner Digital Media Technologies