httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <dirk.vangu...@jrc.it>
Subject Re: Virtual Hosting w/ mod_rewrite (complete solution)
Date Fri, 27 Feb 1998 15:23:43 GMT


On Fri, 27 Feb 1998, Sam Rasins wrote:

> >In article <34F66218.E16ABD6A@posthuman.com> you wrote:
> >> Ralf S. Engelschall wrote:
> >>> 
> >>> In article <34F59DCD.D65CE6CD@posthuman.com> you wrote:
> >>[...]
> >>> Yes, good idea. While you are correct that the above consumes memory because
> >>> the looked-up values are cached in-core, you can simply avoid this: Trivially
> >>> convert this map to DBM format and then you can put 11k names into it without
> >>> memory waste in the httpd processes while having fast access to it at the
same
> >>> time. That's what the dbm:-type for RewriteMap is intended for.
> >
> >> Yes.. but on the other hand, we've found that with a fast PII
> >> and plenty of mem, that the limiting factor on our system has
> >> been disk IO. The fewer accesses, the better.
> >
> >Yes, I agree with you but I think the DBM file usage makes not very much disk
> >I/O. Has someone any experiencies with DBM files and the consumed disk I/O?
 
> Here is a completely off-the-top-of-the-head suggestion ... how about putting
> the DBM file in a RAMDISK structure ... it can reside in memory once for all,
> plus be FAST on I/O.
> 
This works well on BSD, but unfortunately is not supported on most
other platforms.

DW.


Mime
View raw message