4 ms·
Swapping to node.js doesn't solve any of their scalability problems. The problems they have to solve with scaling their current system will be identical to how
by weixiyen 16y ago
Swapping to node.js doesn't solve any of their scalability problems. The problems they have to solve with scaling their current system will be identical to how they will have to scale stream servers written in node.
- Encosia 16y agoI only skimmed the article, but my understanding was that they're using long polling to connect the clients to the message queue. In that case, using node.js and socket.io (as swanson suggested) could considerably reduce the number of concurrent connections since clients with WebSocket or Flash support wouldn't need to hold connections open waiting on publish events. That approach isn't unique to node.js, of course, but the combination of node.js and socket.io would be a valid way to improve scalability [0, Fig. 3] of most any app relying on long polling. [0] http://websocket.org/quantum.html http://websocket.org/quantum.html