Forwarded this message to mina's ML.


1) the socket configuration is really important, more specifically the in and out 
buffers.>In your case, you should configure large buffers (I think the default is 
4 kb, from the top>of my head).
Does the buffer size makes Mina to adjust the TCP packet length?

 3) what would be better is to use a dedicated socket to send the data to the
 remote peer (see FtpServer)
Is it really a good idea to open a dedicated socket for each client if
we have 1000+ clients?

 4) otherwise, if you decide to send the data in small chunks, then you have
 to deal with the MessageSent event

 Talking about the 4th item, as soon as you wait to be waken up when the last
 chunk has been sent, then the thread will be available for other sessions.
Yes, but how to issue an asynchronous chunk send request and exit from
handling MessageSent event in IoHandlerAdapter + when chunk
successfully transmitted how to make Mina call again the method which
transfers the data to send the next chunk?

--
Kind regards,
Antonio Rodriges


Reply via email to