News for hackers. Stuff that matters.
Re:Try RethinkDB in your browser by wildchild on Saturday February 23, 2013 @02:05AM (#5268847)
One thing I can't understand is if "RethinkDB is built to store JSON documents", why then there are tables?

And also, probably I should better explore website, but is it transactional? In other words, is it possible to save multiple documents and RethinkDB server will reject them in case of conflict, just like all-or-nothing semantic in couchdb before ver. 0.9?

Re:Try RethinkDB in your browser by coffeemug on Saturday February 23, 2013 @05:03AM (#5269192)
if "RethinkDB is built to store JSON documents", why then there are tables?

JSON docs are stored in tables -- a table is just a collection of JSON documents. We of course also support arrays, but the reason why we start with tables as a primitive is that it allows doing significant optimizations that otherwise would be very hard/impossible. If the entire DB was one huge JSON document, optimizations would be much more difficult to do. Grouping docs into tables essentially gives the system a hint as to the usage intent.

is it transactional?

Only for changes on a single document. There are no transactional guarantees on queries that touch more than one document.

Re:Try RethinkDB in your browser by wildchild on Saturday February 23, 2013 @06:00AM (#5269325)
> There are no transactional guarantees on queries that touch more than one document.

Any plans to change it in future?

Re:Try RethinkDB in your browser by coffeemug on Saturday February 23, 2013 @06:07PM (#5271870)
May be. It's a bit far off (there is more low-hanging fruit), but I'd never say never.