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' sockets. How
> useful is it to pull up a already connected socket and 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 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

Reply via email to