Perrin,

> I suggest you look at IPC::MM or IPC::Shareable.  IPC::Shareable is
more
> transparent, but IPC::MM has better performance.  IPC::MM simply
creates
> a hash in shared memory and lets you write to it.  Either of these
will
> allow you to share data between processes.

Thanks, I'll have a play around with these!

>> What I really want to do is to write a module that can be accessed
from
>> any of the child apache processes such that some work can be done at
one
>> stage, and if the second request comes through to another child, that
>> child can pick up on the work of the first..

> That sounds pretty sketchy to me.  Why are you trying to do that?
There
> may be a much simpler way to achieve what you're after.

Hmm.. Yes, it sounds pretty sketchy to me too!  Immediately what I am
playing with is the idea of keeping parsed XML (XML::LibXML)in memory
between requests.  Is this a completely barmy idea?

ATB, J.

Reply via email to