Sharing memory between Apache processes

2000-04-04 Thread Flemming Mahler Larsen
Hi, We've been moving several small "CGI powered sites" to mod_perl and the results has been quite terrific. Based on this we're about to move our first large (large in size and heavy traffic) site from an Oracle Application Server to mod_perl. We're using our own custom "HTML::Template"-like

Re: Sharing memory between Apache processes

2000-04-04 Thread Vivek Khera
"FML" == Flemming Mahler Larsen [EMAIL PROTECTED] writes: FML It seems as this has the effect that each server process keeps its own FML copy of the templates. I would like to avoid this by using some sort of FML shared memory between the server processes. Does any of you have any FML

Re: Sharing memory between Apache processes

2000-04-04 Thread Drew Taylor
Flemming, Check out IPC::SharedCache (uses IPC::ShareLite(?) underneath) by Sam Tregar, author of HTML::Template. It does exactly what the name implies. I believe the most recent version is 1.3, but check out your local CPAN mirror for the latest copy. The documentation is rather good IMHO and

RE: Sharing memory between Apache processes

2000-04-04 Thread Russell D. Weiss
It seems as this has the effect that each server process keeps its own copy of the templates. I would like to avoid this by using some sort of shared memory between the server processes. Does any of you have any experience in this field (or even better examples of how to do it)? A good

Re: Sharing memory between Apache processes

2000-04-04 Thread JoshNarins
It seems as this has the effect that each server process keeps its own copy of the templates. I would like to avoid this by using some sort of shared memory between the server processes. Does any of you have any experience in this field (or even better examples of how to do it)? A good

Re: Sharing memory between Apache processes

2000-04-04 Thread Roger Grayson
Flemming Mahler Larsen wrote: Hi, We've been moving several small "CGI powered sites" to mod_perl and the results has been quite terrific. Based on this we're about to move our first large (large in size and heavy traffic) site from an Oracle Application Server to mod_perl. We're using

Re: Sharing memory between Apache processes

2000-04-04 Thread Matt Carothers
On Tue, 4 Apr 2000 [EMAIL PROTECTED] wrote: A good package for this is IPC::Shareable. You can store info in semaphores and share it between processes. Except that I don't think you can you use shared memory (the semaphores are just flags) across multiple web servers, and I have been