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.