Edit: I forget, does java.nio already use kqueue/epoll and friends? If so then Netty should do the trick as it uses java.nio.
Edit: I forget, does java.nio already use kqueue/epoll and friends? If so then Netty should do the trick as it uses java.nio.
I haven't tried netty yet, it seems a lot more heavyweight than xSocket/xLightweb? Or is my perception warped because it's hosted on jboss.org and the description uses "enterprise-friendly" language?
So, I'm quite excited to have found the answer to my question, AND someone has already started a clojure/netty project:
http://github.com/texodus/saturnine
Check out these comparisons of Netty vs others:
http://gleamynode.net/articles/2232/
http://amix.dk/blog/post/19456
http://www.znetdevelopment.com/blogs/2009/04/07/scalable-nio...
http://www.znetdevelopment.com/blogs/2009/04/09/scalable-nio...
http://www.znetdevelopment.com/blogs/2009/04/13/scalable-nio...