users@grizzly.java.net

Re: NIO client support of Grizzly

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 23 Sep 2009 16:24:55 -0400

Salut

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.

Right. In 2.0 we collected a lot of feedback from the community and made
major improvement to the framework. Still I *totally* disagree with
Alexei saying 1.9.x cannot/should not be used.

>
> 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.

Unless you don't want to learn NIO low lever. You still need to lear a
little bit of NIO with 1.9.x, but it's much easier than starting from
scratch IMO.

A+

-- Jeanfrancois


>
> 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
>