users@grizzly.java.net

Re: Streaming server with Grizzly

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 18 Sep 2008 13:49:12 -0400

Salut,

Survivant 00 wrote:
> does Grizzly have custom protocol handler to handler udp through NAT and
> firewalled network ?

No, but should this configured at the JDK level? You have to train
myself on that topic :-)

A+

--Jeanfrancois


>
>
>
>
> 2008/9/18 Oleksiy Stashok <Oleksiy.Stashok_at_sun.com
> <mailto:Oleksiy.Stashok_at_sun.com>>
>
> Hi,
>
>
> a little question. I would like to do as my next demo, a music
> streaming server using Grizzly.
>
> Sounds very interesting! :)
>
>
> Frist, there is a demo that do live broadcasting (not a push,
> but continually sending data to all users). I don't know if I
> should use async write or not.
>
> I would say yes - async write could be better to make server more
> scalable.
>
>
> any suggestion how I shoudl start and what I should consider in
> my design ?
>
> Hmm... I don't have any experience in broadcasting audio/video.
> However I would expect you should write such a protocol on top of
> UDP, right? Probably with some reliability features.
>
>
> I suppose that the client will have a buffer and no, or a
> little, latency on the network, and no error recovery (the data
> will be lost.. that's it)..
>
> Right. With UDP it's doable.
>
> Thanks.
>
> WBR,
> Alexey.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> <mailto:users-unsubscribe_at_grizzly.dev.java.net>
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
> <mailto:users-help_at_grizzly.dev.java.net>
>
>