httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Zhang <>
Subject Where is the right place to setup a connection pool?
Date Wed, 31 Oct 2007 20:41:59 GMT
I am writing a module talking to a remote server that
handles the real work.  I need to build/keep a pool of
connections for reuse almong the different Apache
worker threads.  Should I build that in the
ap_hook_post_config or ap_hook_child_init function?

When apache creates multiple processes, will each
process have its own copy of the connection pool
automatically (taken care by apache) or I will have to
do more work?

Thanks in advance for any help.


View raw message