httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: [PATCH] ap_socache.h & mod_socache_*
Date Tue, 08 Apr 2008 12:36:23 GMT
Joe Orton wrote:

> I think it's appropriate that the "smallness" is brought out:
> 1) the fact that some providers (shmcb, memcache at least) have fixed 
> size limits means any consumer must be designed to cope with that,
> 2) for a cache which could store arbitrarily large objects, you'd want a 
> different, streamy, interface, which didn't just pass data blobs as 
> (char *, size) pairs.

One thing I see a definite use for a small object cache is in 
mod_disk_cache, to store the headers of requests. This will allow the 
update of headers without the song and dance that we have to go through 
now to do this.

Headers fit the criterion of "small" and "fixed size limits", but would 
need to be persisted across a server restart somehow, ie with DBM or DBD.


View raw message