mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 이희승 "(Trustin Lee)" <trus...@gmail.com>
Subject Re: how to use thread pool
Date Fri, 28 Mar 2008 05:40:26 GMT
Please take a look at the JavaDoc of ServerSocket.bind() - you can
specify backlog there.  MINA also has the same property so you can
adjust it.

On Fri, 2008-03-28 at 14:23 +0900, ryan cheng wrote:
> 2008/3/28, 이희승 (Trustin Lee) <trustin@gmail.com>:
> >
> > Probably you could increase the backlog of the acceptor?
> 
> 
> I donot know the acceptor's backlog used for what? Can you explain that?
> thanks.
> 
> You will also
> > have to redesign your protocol so a client makes a connection only once
> > and reuse it on and on, instead of opening and closing connections
> > frequently.
> >
> > do you mean keep the IoSession is open, and reuse it?
-- 
Trustin Lee - Principal Software Engineer, JBoss, Red Hat
--
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message