users@grizzly.java.net

Re: Java New I/O, Multiplexing and Mixing/Splitting of Channels

From: charlie hunt <charlie.hunt_at_sun.com>
Date: Wed, 05 Dec 2007 06:52:33 -0600

Miro,

As you know, Project Grizzly is pure Java. But, Project Grizzly's
emphasis is on performance. Also, if you look at the JavaOne
presentation
(http://developers.sun.com/learning/javaoneonline/j1sessn.jsp?sessn=TS-2992&yr=2007&track=5),
you will see that Grizzly out performs both Java based applications and
native implementations. That presentation also provides many of the
tips & tricks we applied to using Java NIO effectively to realize
performance and scalability.

If you have "true" real time requirements with deterministic pause
times, then Java SE itself may not be able to meet those requirements.
In that case you will either need to look at real time Java solution
such Sun's Real Time Java or a native real time solution. Fwiw,
migrating Grizzly to run / work in a Sun's Real Time JVM would probably
not be too difficult.

hths,

charlie ...

Miroslav Nachev wrote:
> Hi,
>
> I am writing my question here because I can not find another suitable
> Mail list where are so familiar with Java NIO and in the same time
> Grizzly project is very close to my question.
>
> We try to realize in pure Java code Multiplexing and Mixing/Splitting
> of Channels but the delay is too big and that's why we are looking for
> some library or utility where this can be done faster using C language
> and JNI. Can we use for that purposes Java NIO and how? Are such
> capabilities provided in Grizzly project?
>
> Some useful Real-time applications where the above technics are need are:
> - Audio/Video Conferences;
> - Voice/Video Recording/Tapping;
> - Voice/Audio/Video Compression and Decompression;
> - Echo Cancellation (Line, Acoustic).
>
> Thank you in advance.
>
>
> Regards,
> Miro.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>