for(var i=0;i<100;i+++) {Users.insert({name: "bot00" + i, last_seen: new Date()})};
for(var i=0;i<20;i++) {Messages.insert({user: "testuser", text: "yo!", date: new Date()})};
Security stability and scalability are the hard parts.
for(var i=0;i<20;i++) {Messages.insert({user: "testuser", text: "yo!", date: new Date()})};
Security stability and scalability are the hard parts.
Meteor.setInterval(function () { Users.remove({}); Messages.remove({}); }, 500);
Being able to send messages asynchronously has been a solved problem for a long while now.
However, judging from the ridiculous amount of xhr messages flying back and forth, perhaps even that isn't done very well yet.