Hi there.
I am preparing a small node.js app that will tell me how many users
are on my website at the moment. I will use
socket.io:
var socket = io.listen(app);
socket.on('connection', function(client){
++userCount;
client.on('message', function(data){ });
client.on('disconnect', function(){
--userCount;
});
});
What if I have a website with LOADS of traffic. Will
socket.io and
node.js handle so many concurent connections (i.e 1.000.000 at the
same time)? I am curious if
socket.io will bring my node.js server
down...