>>>>> Dan Kegel writes:
Dan> Anyone here interested in getting Java to handle heavy I/O
Dan> nicely? I'm personally interested in insane things like
Dan> trying to write an ftp daemon that can handle 5000
Dan> simultaneous clients in Java, but there are probably more
Dan> sane examples.
Dan> I have a few notes on the subject at
Dan> http://www.kegel.com/c10k.html#java
Dan> and am musing about how one might support /dev/poll
Dan> ( http://www.kegel.com/c10k.html#/dev/poll )
Dan> in Java under Linux.
Dan> Sun is trying to deal with these issues, too; see
Dan> http://java.sun.com/aboutJava/communityprocess/jsr/jsr_051_ioapis.html
I once started to port the JNI-poll interface example from the Solaris
production release JDK to Linux but never had to time finish it. You
can find a more or less usable version at:
http://guiness.cs.uni-dortmund.de/~kreilede/poller/
The code requires a native threads VM, I recommend 1.2.2-RC4.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]