Re: How to pre-open files in apache's processes

Xiao Lan <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
2010/12/2 Torsten Förtsch <[email protected]>:
> On Thursday, December 02, 2010 14:26:36 Xiao Lan wrote:
>> > But, looking at the module I think it can be slow because it relies
>> > heavily on seek(). A better approach would be to mmap() the file. In
>> > perl it would look then like a big string. My favourite tool for that is
>> > File::Map.
>>
>> OK thanks for this info. I will take a look at File::Map.
>
> If I were you, I'd really consider to convert the database into an MMapDB, see
> http://search.cpan.org/perldoc?MMapDB
>

Yup that's a good idea.
But I dont know how to convert the original database to MMapDB. :-)

Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.