perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Willams" <davwil...@gmail.com>
Subject global vs multi-process
Date Thu, 06 Sep 2007 05:00:55 GMT
Hello modperl,

I'm coming to grips with multi-process vs. multi-threaded limitations (and
benefits!).

For example, during start up, for sharing read-only data among child
processes, we do something like:

%CACHE = get_data( );

Child processes cannot update %CACHE, so what other apache methods or
architectural strategies exist (creative, elaborate, etc) or have been used
to update a similar hash? Is this not a common requirement?

Can a separate apache daemon-like module be used to manage that hash?

Unfortunately, a database will not work for my current problem.

Thanks,
-D

Mime
View raw message