News for hackers. Stuff that matters.
Re:Fast polling using C, memached, nginx and libevent by amix on Wednesday March 25, 2009 @05:58PM (#532502)
I think Java is a pretty good choice, especially for doing comet or any other problem where performance is required. Today Java's perfomance almost matches the speed of C or C++... I have some time ago played around with using Jetty's continuations and it's pretty impressive (and highly scaleable).

In my next iteration I'll probably try to go with the long polling model and I'll probably explore C and Java.

Thanks for sharing your architectural notes.

Re:Fast polling using C, memached, nginx and libevent by axod on Wednesday March 25, 2009 @06:09PM (#532517)
Cool :)

Forgot to also mention CPU usage is negligable. Memory can be a challenge with Java, but often solved by reducing object churn, tidying up better etc. The java.nio package really is pretty awesome.