On 5/7/07, Carl Johnstone <[EMAIL PROTECTED]> wrote:
You can use shared memory between apache processes. Check:
*Apache::SharedMem*
<http://search.cpan.org/author/RSOLIV/Apache-SharedMem-0.09/lib/Apache/SharedMem.pm>
*Tie::ShareLite*
<http://search.cpan.org/author/NSHAFER/Tie-ShareLite-0.03/ShareLite.pm>
*Cache::SharedMemoryCache*
<http://search.cpan.org/author/DCLINTON/Cache-Cache-1.05/lib/Cache/SharedMemoryCache.pm>
all based on
*IPC::ShareLite*
<http://search.cpan.org/author/MAURICE/IPC-ShareLite-0.09/ShareLite.pm>
These have terrible performance unless you are just sharing a few
simple scalars. They serialize the entire data structure with
Storable on every write and deserialize on every read. You can
imagine how bad that gets if you try to share a 10MB hash.
- Perrin