> -----Original Message-----
> From: Dave Bryson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 28, 2000 7:41 PM
> To: Turbine
> Subject: Re: Pooling socket connections
> 
> 
> On Tue, 28 Nov 2000, you wrote:
> > Hi,
> > 
> > We are using Forte as a middleware, which encapsulates the business 
> > logic and database access. Instead of opening and closing a socket 
> > with every request, I would like to pool the connections, much like 
> > what is commonly done with database connections.
> > 
> > Has anyone ever pooled socket connections instead of DB connections?
> > If so, what would be involved to adapt the framework for this?
> 
> What are you trying to do, pool connections from Turbine to 
> Forte? For a
> quick reference look at the Tomcat source code (PoolTCPConnector) it
> could probably be adapted.  

Thanks for the tip.

> Why doesn't the middleware 
> provide the ability
> to do this?

That seems to me a peculiar question. Why doesn't a database provide this?
I thought the whole point was to have a pool of connections on the 
webserver machine to a database, or other disparate system, which may 
or may not be on the same machine, because it is faster to make your 
calls when you don't have to open new connections each time. I am sure 
that Forte does something like this under the sheets if you are using 
a Forte front end and not your own.

Ben

> 
> -- 
> Dave Bryson
> [EMAIL PROTECTED]
> ----------------------
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
> 


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to