Live data from Hacker News

RethinkDB: An open-source distributed database built with love over three years

rethinkdb.com

21–30 of 247 posts

Re: RethinkDB: An open-source distributed database built with love over three years

#21
post #5

I'll ask the obvious question not in the FAQ: How is this different from MongoDB?

Hey, this is Slava, founder of rethinkdb. There are some obvious high level differences: * A far more advanced query language -- distributed joins, subqueries, etc. -- almost anything you can do in SQL you can do in RethinkDB * MVCC -- which means you can run analytics on your realtime system without locking up * All queries are fully parallelized -- the compiler takes the query, breaks it up, distributes it, runs it…

What do you see as the potential areas where RethinkDB will shine?

Also, I am excited to try this out. I always enjoyed your writings and I am sure you + team have made something awesome.

Re: RethinkDB: An open-source distributed database built with love over three years

#22

I don't know much about RethinkDB yet, but I will say that I have been a big fan (online) of one of its founders, Slava Akhmechet, for years. I've never met him, but he wrote some terrific articles on his website, http://www.defmacro.org/ , a few years ago. Start at the bottom of the list of articles, with "The Nature of Lisp." Slava is a deep thinker, which makes me very excited to take a look at RethinkDB.

I wish I could up-vote this a thousand times. Slava is one of the most genuine founders I've met, and I wish him and RethinkDB all the best.

Re: RethinkDB: An open-source distributed database built with love over three years

#24
post #21

Earlier quoted context omitted.

Hey, this is Slava, founder of rethinkdb. There are some obvious high level differences: * A far more advanced query language -- distributed joins, subqueries, etc. -- almost anything you can do in SQL you can do in RethinkDB * MVCC -- which means you can run analytics on your realtime system without locking up * All queries are fully parallelized -- the compiler takes the query, breaks it up, distributes it, runs it…

What do you see as the potential areas where RethinkDB will shine? Also, I am excited to try this out. I always enjoyed your writings and I am sure you + team have made something awesome.

Hah that question is almost word for word in the faq: http://www.rethinkdb.com/docs/faq/

Re: RethinkDB: An open-source distributed database built with love over three years

#25
post #17

Suggestion: It would be great to have a page on your website that explains why RethinkDB is better than the other prevailing options. Right now I don't know why I'd want to invest time setting up yet another database.

Thanks -- will do in the next few days.

Re: RethinkDB: An open-source distributed database built with love over three years

#26
post #23

I don't see much on the documentation on indexes. Also this looks awesome, I would love to see a option to let it be eventually consistent and still keep the great querying ability.

We currently support primary key indexing, but no secondary indexes. This is definitely planned -- it will take a few months to get this out.

EDIT: also, you can run queries with an out_of_date_ok flag, which will give you what you want. This only works for read queries though, the architecture is pretty much set up in a way where this would be very very difficult to do for write queries.

Re: RethinkDB: An open-source distributed database built with love over three years

#28
I'm hoping this'll be a viable replacement for MongoDB. (Sparse/Schema-free is incredibly useful for me, as is JSON-centric modeling)

jedberg already asked for a compare/contrast, but let me provide some specifics I care about that you might be able to answer.

1. Is it fair to say that thanks to MVCC, running an aggregation or map-reduce job isn't going to lock the whole damn thing up like it does on MongoDB?

2. You've got a distributed system that is seemingly CP, do the availability/consistency semantics compare with HBase? Master-slave? Replication? Sharding?

3. Latency is a big one for us and is a large part of why we use ElasticSearch. How does the read-latency on RethinkDB compare with Mongo/MySQL/Redis/et al ?

Re: RethinkDB: An open-source distributed database built with love over three years

#30
post #5

I'll ask the obvious question not in the FAQ: How is this different from MongoDB?

Hey, this is Slava, founder of rethinkdb. There are some obvious high level differences: * A far more advanced query language -- distributed joins, subqueries, etc. -- almost anything you can do in SQL you can do in RethinkDB * MVCC -- which means you can run analytics on your realtime system without locking up * All queries are fully parallelized -- the compiler takes the query, breaks it up, distributes it, runs it…

> All queries are fully parallelized

Does it means that every query touches all servers ? Or does it sends queries to only a subset of servers when possible ? (e.g. range queries on PK)

Post reply on HN