OK,
I have added a java.nio listener to Jetty: org.mortbay.http.SocketChannelListener
It has had very little testing, but appears to be working OK on my machine.
If anybody has a big iron and something that can generate lot's of connections,
it would be interesting to see what it does for performance. It should reduce
the thread count significantly!
This is java 1.4 only, so I can't move it to the JBoss repository until
the build.sh knows how to handle optional 1.4 stuff.
cheers
Dan Christopherson wrote:
> This is maybe a bit offtopic, and a bit long, but this is one of those
> serindipitous occasions where a conversation strikes on something
> somebody else is already working on...
>
> Greg Wilkins wrote:
> >
> >+ Use java.nio as:
> > * if you care about performance you should be using jdk1.4 anyway
> > * if you want one machine to handle more connections than the sum of
> > all your servers, then java.net.ServerSocket aint going to do the job!
> > * I want to play with nio before I write the NioListener for Jetty!
>
--
Greg Wilkins<[EMAIL PROTECTED]> GB Phone: +44-(0)7092063462
Mort Bay Consulting Australia and UK.Mbl Phone: +61-(0)4 17786631
http://www.mortbay.com AU Phone: +61-(0)2 98107029
___
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development