Use ConnectFuture.addFutureListener() rather than waiting on the
connection. There's no reason to block waiting for a connection for
the app you've described.

On Tue, Sep 23, 2008 at 8:14 AM, Simon Trudeau
<[EMAIL PROTECTED]> wrote:
> A: Sending a message to a remote host is a two step process. First the
> connection with the remote peer needs to be established, second, the
> message is sent. Since establishing a connection takes a long time
> (assuming you have like me 1000 concurrent connections that you want to
> establish), thus the business logic thread gets slowed down when sending
> messages.

Reply via email to