httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: Apache module avoiding re-initialization of connection pool in every worker process
Date Thu, 02 Jan 2014 10:54:26 GMT

On 31 Dec 2013, at 15:37, Eric Covener wrote:

> You can keep doing it once per process and share across threads.  If
> you don't manage them very smartly today, maybe apr_reslist would help
> in the multithreaded case.

To expand a little on that, take a look at mod_dbd, which uses apr_reslist
to maintain a pool of database connections shared across threads.
Your task looks quite similar to that!

Nick Kew

View raw message