Re: Client Connection Pool support

2007-11-12 Thread peter royal
On Nov 5, 2007, at 10:03 PM, Vishal_Jain wrote: Thats right. I was wondering if someone in this forum has implemented a connection pool (not necessarily around Mina) and perhaps share with rest of newbies like me ? :) I have implemented a custom connection pool for my purposes.. Wrapping

Re: Client Connection Pool support

2007-11-06 Thread Vishal_Jain
>> Another doubt i have is regarding keeping a pool of 'connected' >>>>> sockets. >>>>> How >>>>> useful is it to pull up a already connected socket and do a message >>>>> exchange >>>>> compared to creating

Re: Client Connection Pool support

2007-11-06 Thread Frédéric Brégier
nd do a message >>>> exchange >>>> compared to creating and connecting a socket as and when required ? >>>> >>> I think it depends on the cost of making a connection. It's often >>> very small and once connected, there's no problem with y

Re: Client Connection Pool support

2007-11-06 Thread Vishal_Jain
>>> very small and once connected, there's no problem with your bandwidth. >>> If disconnection is unlikely, you could simply reconnect even if the >>> connection cost is somewhat high. >>> >>> HTH, >>> Trustin >>> -- >>> what we call human nature is actually human habit >>> -- >>> http://gleamynode.net/ >>> -- >>> PGP Key ID: 0x0255ECA6 >>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/Client-Connection-Pool-support-tf4722391s16868.html#a13602821 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Re: Client Connection Pool support

2007-11-06 Thread Brad Harvey
Hi Vishal, If you're talking standard client side HTTP, MINA might not be the best tool for the job. For example, see http://jakarta.apache.org/httpcomponents/httpclient-3.x/ One of the features you might be interested in: * Connection management support for use in multi-threaded application

Re: Client Connection Pool support

2007-11-05 Thread Vishal_Jain
gt; > I think it depends on the cost of making a connection. It's often >> > very small and once connected, there's no problem with your bandwidth. >> > If disconnection is unlikely, you could simply reconnect even if the >> > connection cost is somewhat h

Re: Client Connection Pool support

2007-11-05 Thread Trustin Lee
gt; > > I think it depends on the cost of making a connection. It's often > > very small and once connected, there's no problem with your bandwidth. > > If disconnection is unlikely, you could simply reconnect even if the > > connection cost is somewhat high. > >

Re: Client Connection Pool support

2007-11-05 Thread Vishal_Jain
nd once connected, there's no problem with your bandwidth. > If disconnection is unlikely, you could simply reconnect even if the > connection cost is somewhat high. > > HTH, > Trustin > -- > what we call human nature is actually human habit > -- > http://gleamynode.net/

Re: Client Connection Pool support

2007-11-05 Thread Trustin Lee
On 11/6/07, Vishal_Jain <[EMAIL PROTECTED]> wrote: > > Thats right. > I was wondering if someone in this forum has implemented a connection pool > (not necessarily around Mina) and perhaps share with rest of newbies like me > ? :) > Another doubt i have is regarding keeping a pool of 'connected' so

Re: Client Connection Pool support

2007-11-05 Thread Vishal_Jain
y human habit > -- > http://gleamynode.net/ > -- > PGP Key ID: 0x0255ECA6 > > -- View this message in context: http://www.nabble.com/Client-Connection-Pool-support-tf4722391s16868.html#a13600064 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Re: Client Connection Pool support

2007-11-05 Thread Trustin Lee
On 11/5/07, Vishal_Jain <[EMAIL PROTECTED]> wrote: > > Is there a way this can be implemented with existing features till we wait > for version 2.0 ? MINA is nothing but an abstract API. You can implement a meta connector which wraps more than one connectors so the meta connector manages the conn

Re: Client Connection Pool support

2007-11-04 Thread Vishal_Jain
http://gleamynode.net/ > -- > PGP Key ID: 0x0255ECA6 > > -- View this message in context: http://www.nabble.com/Client-Connection-Pool-support-tf4722391s16868.html#a13580415 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

Re: Client Connection Pool support

2007-10-30 Thread Trustin Lee
On 10/31/07, liquidchen <[EMAIL PROTECTED]> wrote: > > Hi, does mina Connector provide any function can do like sokcet connection > pool?? Thanks... Not yet. It should be added in 2.0 while implementing the auto-reconnection feature, because it belongs to what meta-transports are supposed to do.

Client Connection Pool support

2007-10-30 Thread liquidchen
Hi, does mina Connector provide any function can do like sokcet connection pool?? Thanks... -- View this message in context: http://www.nabble.com/Client-Connection-Pool-support-tf4722391s16868.html#a13501459 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.