5 ms·
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
by mibbitier 14y ago
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.
- ukd1 14y agoOr, if you're bored and hate everyone: Meteor.setInterval(function () { Users.remove({}); Messages.remove({}); }, 500);
- zquestz 14y agoYep all are effective. Security is something meteor is currently developing and is in very early stages. To shit on them now, when they are still in active development of a product they don't even claim is production ready... is like punching babies in the face. It is completely worthless.
- mibbitier 14y agoI think the point is that what meteor already has, isn't the hard bit. 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.
- drivebyacct2 14y agoYep. I think it hits a crossroads of node.js/client-side js/ease/flashiness/demo/tutorials such that it has everyone's attention.
- zquestz 14y agoBe curious if you can find any security issues now that they have been fixed.