You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Vinod Mehra <vi...@beasys.com> on 2000/02/29 01:13:59 UTC
Sharing data between apache processes.
When we run the apache server it creates multiple threads (processes) and
as the number of concurrent request increases it goes on creating new threads
and bringing them down during the period of inactivity. Now I have a module
in which I maintain a state. What is the best way to share the state between
different instances of the module (in different threads of apache)? What is
the
best way to cause min performance hit?
Any pointers on this will be a great help.
TIA,
-Vinod.
Re: Sharing data between apache processes.
Posted by Dean Gaudet <dg...@arctic.org>.
see mod_ssl it does this using a library called "mm" from rse.
http://www.modssl.org/
Dean
On Mon, 28 Feb 2000, Vinod Mehra wrote:
> When we run the apache server it creates multiple threads (processes) and
> as the number of concurrent request increases it goes on creating new threads
> and bringing them down during the period of inactivity. Now I have a module
> in which I maintain a state. What is the best way to share the state between
> different instances of the module (in different threads of apache)? What is
> the
> best way to cause min performance hit?
>
> Any pointers on this will be a great help.
>
> TIA,
> -Vinod.
>