users@grizzly.java.net

Re: NIO client support of Grizzly

From: Wang Yu <Wang.Yu_at_Sun.COM>
Date: Thu, 24 Sep 2009 09:47:20 +0800

Hi, Sam
I am helping one of our partners to build an agent-less management
console, which will use Telnet or SSH to manage more than 500 servers.
The reason of using NIO dues to the facts that some management actions
will take a relative long time. So we won't block the threads when waiting
the servers' response.

First we wrote our own NIO solution from the scratch, but it is proved
to be a bug factory under the stress testings. So we go to some mature
frameworks
such as Grizzly and Mina.

Thanks
Wang Yu

 
Sam Crawford wrote:
> I'm just starting out with Grizzly, but I'm getting on just fine
> implementing our home-grown protocol in 2.0. I can't speak to 1.9.x
> though.
>
> Wang - To your original question: How many connections are you talking
> about here? If it's just in the low hundreds then you probably won't
> see much benefit of using an NIO-based framework.
>
> Thanks,
>
> Sam
>
>
> 2009/9/23 Alexei Dets <adets_at_idsk.com>:
>
>> Hi!
>> Wang Yu wrote:
>>
>>> Can Grizzly Framework support such programming mode (to be a telnet
>>> client of hundreds of servers with only a few threads)?
>>>
>> Yes. But if the list of the protocols you need to support doesn't include
>> HTTP then based on my own experience with it during last year I'd strongly
>> recommend against using Grizzly (1.9.x, 2.x may be much better - I have no
>> experience with it).
>>
>> Alexei
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>