You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by Mike O'Leary <mo...@gmail.com> on 2007/12/14 14:35:12 UTC

Connection Pool Module

I am looking to write an Apache module that maintains a pool of socket
connections to a back-end server.  When a request for the module comes in, a
connection from the pool would be grabbed and the data sent to the back-end
server.  I want persistent connections to the back-end server; constantly
reconnecting would be very painful.

Anyone know of how I could get this to work?  From what I've read, I don't
see that this is possible, but throwing it out in the hopes that someone
here knows.  I appreciate any help you can give.


Mike

Re: Connection Pool Module

Posted by Nick Kew <ni...@webthing.com>.
On Fri, 14 Dec 2007 08:35:12 -0500
"Mike O'Leary" <mo...@gmail.com> wrote:

> I am looking to write an Apache module that maintains a pool of socket
> connections to a back-end server.

mod_proxy does that.

Alternatively, you could look at mod_dbd, which maintains a pool
of database connections.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/