You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Michael Qi <fo...@gmail.com> on 2008/04/21 17:17:30 UTC

Question about the mina SocketConnector

Hi,
  Could I use SocketConnector send large amount of messages?


  Thank you
  QiHe

Re: Question about the mina SocketConnector

Posted by Steve Johns <st...@gmail.com>.
If one to one conection, non blocking is NOT better than blocking io. NIO is
better used as a server which needs to serve thousands of clients.

On Thu, Apr 24, 2008 at 12:41 AM, Michael Qi <fo...@gmail.com> wrote:

> Hi steve,
>    Thank you for your reply.
>    I see someone used ten or more connections to send large amount of
> data, but it is blocking socket. Should I use more connections?
>
>
> Regards
> QiHe
> On Wed, Apr 23, 2008 at 8:50 PM, Steve Johns
> <st...@gmail.com> wrote:
> > Yes, you can.
> >
> >
> >
> >  On Mon, Apr 21, 2008 at 11:17 PM, Michael Qi <fo...@gmail.com>
> wrote:
> >
> >  > Hi,
> >  >  Could I use SocketConnector send large amount of messages?
> >  >
> >  >
> >  >  Thank you
> >  >  QiHe
> >  >
> >
>

Re: Question about the mina SocketConnector

Posted by Michael Qi <fo...@gmail.com>.
Hi steve,
    Thank you for your reply.
    I see someone used ten or more connections to send large amount of
data, but it is blocking socket. Should I use more connections?


Regards
QiHe
On Wed, Apr 23, 2008 at 8:50 PM, Steve Johns
<st...@gmail.com> wrote:
> Yes, you can.
>
>
>
>  On Mon, Apr 21, 2008 at 11:17 PM, Michael Qi <fo...@gmail.com> wrote:
>
>  > Hi,
>  >  Could I use SocketConnector send large amount of messages?
>  >
>  >
>  >  Thank you
>  >  QiHe
>  >
>

Re: Question about the mina SocketConnector

Posted by Steve Johns <st...@gmail.com>.
Yes, you can.

On Mon, Apr 21, 2008 at 11:17 PM, Michael Qi <fo...@gmail.com> wrote:

> Hi,
>  Could I use SocketConnector send large amount of messages?
>
>
>  Thank you
>  QiHe
>