How would you serve 100,000 simultaneous comet requests with Node.js?
groups.google.com
groups.google.com
People like throwing around the number 100,000... but this is really nothing to be excited about. Having 100,000 users is much more exciting than having 100,000 sockets connected from 127.0.0.1...
What do you mean precisely? Do you mean that even with proper ulimit, sysctl, etc setup Linux fails to give you this many descriptors?
I have been really enjoying writing code for node.js - I'm using it to render content for non-javascript capable clients and it's handing the load nicely. Being able to maintain one set of tests is a huge win over having a python and a JS implementation.
Has anyone got a good way to redirect non-JS clients to a different set of URLs? At the moment I'm using a combination of user agent sniffing and js+meta page refresh, is there a better way?
Apart from that it might be useful to use several clients (e.g. with autobench) especially if the application is able to handle _many_ requests.