A gazillion-user comet server with C
http://aleccolocco.blogspot.com/2008/10/gazillion-user-comet-server-with.html
Whoa nelly, this should do nicely. Thought I'd share.
http://aleccolocco.blogspot.com/2008/10/gazillion-user-comet-server-with.html
Whoa nelly, this should do nicely. Thought I'd share.
The post was following Richard Jones' Mochiweb/erlang "Million-user" implementation. And he ended up using a libevent-based solution to handle connections in front of Mochiweb :-/
Also note the post on Linux ephemeral port issue: http://aleccolocco.blogspot.com/2008/11/ephemeral-ports-prob...
Niels, from /dev/poll (back then) and libevent fame got into the thread.
Well, OK. It's Sunday and it's beautiful outside, but let's see if I can get some update today.
The Orbited team released Hookbox, and it looks amazing. http://hookbox.org/
Also there's an nginx push module by Leo aka "shell". http://pushmodule.slact.net/
I doubt I can add to the conversation now.
I barely skimmed node.js, it looks very good. I have an nginx-V8 module for a web framwork I'm working on. Both give very good control to keep the system with nice logarithmic resource usage, without spikes. One of my unfinished blog drafts talks about it.