3 ms·
Thanks, but word of warning - through the Data Explorer interface it is possible to take down a core or two by passing things like 'while (1) {}' to the r.js()
by woogley 14y ago
Thanks, but word of warning - through the Data Explorer interface it is possible to take down a core or two by passing things like 'while (1) {}' to the r.js() command
No good deed goes unpunished, etc.
- coffeemug 14y agoHey, it's actually not very difficult for us to make this more robust (e.g. kill and restart the v8 process if it gets out of line). EDIT: here's an issue for this -- https://github.com/rethinkdb/rethinkdb/issues/69 https://github.com/rethinkdb/rethinkdb/issues/69 We'll fix this ASAP (though this is somewhat of a low priority).
- themgt 14y agoThanks. I tried it out and it wasn't too bad. It's in LXC in KVM on hardware, so there's some cgroups and vpus and such in the way of total meltdown
- jdoliner 14y agoThere are actually really cool insidious queries you can run. There is for example a query you can run which will insert an infinite number of documents into a table!! Hats off to the first person to post it. It's awesome that you're hosting this you should just be sure it's on a machine you're not depending on for other services.
- atnnn 14y agot.forEach(t.insert(t.without("primaryKey")); Only try this at home.