httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <>
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 <> you wrote:
> >> Ralf S. Engelschall wrote:
> >>> 
> >>> In article <> 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
> >>> 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.


View raw message