views:

88

answers:

4

Which native server is best, in your opinion, to implement long-polling / Comet? The first target application is chat, but there will be other implementations - we basically need push-to-client capabilities.

I'm limiting the answers to C# or Java because these two technologies are dominant at my workplace. The requirements are as usual: performance, ease of deployment/programming, customization, ...

+1  A: 

I don't think there's a significant difference in this regard.

Steven Sudit
A: 

I know that special attention was paid to Comet support in the Grizzly engine used by Glassfish. It wasn't treated as an afterthought.

erickson
That's interesting. What sort of special support does it have?
Steven Sudit
+1  A: 

IIS + WebSync is a very straight-forward, scalable and extensible solution for server push. There is a free Community edition I highly recommend checking out.

Anton
+2  A: 

Both Java and .NET platforms have enough capabilities to handle your needs. If you choose Java : You may start with DWR otherwise, on the .net side PokeIn library should be the choice.

Heidi
DWR with Apache for JAVA | PokeIn with IIS/Apache/Ngix for .NET would be best
Zuuum