httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Qian" <dan...@bestningning.com>
Subject Re: load data at server startup - is ap_hook_post_config() theright place?
Date Sun, 25 Mar 2007 05:23:37 GMT

----- Original Message ----- 
From: "Joachim Zobel" <jzobel@heute-morgen.de>
To: <modules-dev@httpd.apache.org>
Sent: Saturday, March 24, 2007 5:28 PM
Subject: Re: load data at server startup - is ap_hook_post_config() theright 
place?


> Am Samstag, den 24.03.2007, 19:04 +0100 schrieb Joachim Zobel:
>> You can of course implement an index tree in memory, too. But why
>> reinvent the database if you already have one.
>
> A hash table (see apr_hash.h) would do. But I don't think its worth the
> hassle, you'll also have to put it in shared memory.
>
> Sincerely,
> Joachim
>
>
>
>
>
>
The question is where I can create the shared memory in the master server 
process.

Thanks,
Daniel 


Mime
View raw message