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
>> 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
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
>>> 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.
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
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
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.
> >
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/
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
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.
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
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.
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.
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.
14 matches
Mail list logo