You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Ralf S. Engelschall" <rs...@engelschall.com> on 1998/02/27 13:01:02 UTC
Re: Virtual Hosting w/ mod_rewrite (complete solution)
In article <34...@posthuman.com> you wrote:
> Ralf S. Engelschall wrote:
>>
>> In article <34...@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?
Greetings,
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com