Live data from Hacker News

RethinkDB joins the Linux Foundation: What Happens Next

rethinkdb.com

21–30 of 112 posts

Re: RethinkDB joins the Linux Foundation: What Happens Next

#21
post #9

Honestly what needs to happen next is a serious effort to explain why or when rethink is better than mongo, cassandra, arango, aerospike, memsql, mysql, riak, or postgres, ++, not to mention all the TSDBs. On the event pushes I am unconvinced that message queues/computation graphs arent superior and that's another crowded space. When I last looked at it the advantages struck me as mostly incremental on the query lang…

TBH, given the option... RethinkDB is probably the best case for anything that needs distribution/HA and automatic failover. SQL is a decent option, but you either pay a lot for HA, or you need to have a lot of domain knowledge or hire dedicated DBA support. Not that RethinkDB doesn't need some knowledge, their admin interface is great.

The replication model is similar to Cassandra (ring + redundancy), while the master/slave model and failover has had a lot of work to make it bulletproof.

It will scale well from 3-15 nodes, then it starts to drop off as less than linear growth. But if you need more than that, then you're in a whole other league.

If you want search only, go for ElasticSearch. If you need much greater linear growth at the cost of application complexity, Cassandra. If you need fast memory access, then go for Redis. If you don't need bullet-proof automagic failover, or are willing to pay through the nose for it, go for SQL. If you are okay with a single system, go SQL. Otherwise, RethinkDB should probably be the first choice.

Don't get me wrong, I'll reach for SQL first in many cases... but RethinkDB if I have a choice and HA is a requirement. I also happen to prefer a document-centric model/approach.

Re: RethinkDB joins the Linux Foundation: What Happens Next

#22

Earlier quoted context omitted.

Comes down to jenkins for me. RethinkDB aced the jenkins tests. Mongo has failed every jenkins test it's been put through, dunno about the status now though. Last I checked Mongo's default durability level was "data loss on power outage". Aerospike failed jenkins too, and not on small edge cases like Mongo, but with major dataloss. Going by the problems Gitlab has recently with Postgres I wouldn't use that for a dist…

Passt find replace Jenkins Jepsen call-me-maybe ;)

Jepsen

Re: RethinkDB joins the Linux Foundation: What Happens Next

#23
post #11

My weird and unrelated question is: if I donate software to an open source group like the Linux Foundation, can I write it off my taxes? And if so, how do I assess the value of it? RethinkDB probably has some legitimate market value...can the founders reflect that on their taxes?

It's not the founder's asset -- unless it has been released back to them in adjudicated liquidation proceedings or by contractual agreement. It is the company's asset, and would be reflected in the company's taxes.

Re: RethinkDB joins the Linux Foundation: What Happens Next

#25
post #9

Honestly what needs to happen next is a serious effort to explain why or when rethink is better than mongo, cassandra, arango, aerospike, memsql, mysql, riak, or postgres, ++, not to mention all the TSDBs. On the event pushes I am unconvinced that message queues/computation graphs arent superior and that's another crowded space. When I last looked at it the advantages struck me as mostly incremental on the query lang…

TBH, given the option... RethinkDB is probably the best case for anything that needs distribution/HA and automatic failover. SQL is a decent option, but you either pay a lot for HA, or you need to have a lot of domain knowledge or hire dedicated DBA support. Not that RethinkDB doesn't need some knowledge, their admin interface is great. The replication model is similar to Cassandra (ring + redundancy), while the mast…

Aerospike touches most of your points at much higher speed and scale. It is next gen redis, basically, with disk, with auto-sharding scale, with cross node queries. Cassandra is not difficult once you wrap your mind around column storage, and if you need that, no other storage style will do.

The 15-node thing is also a major achilles heel. Who wants to commit to a stack that incurs massive technical debt in the event of massive success? Imagine reengineering your db and your event pushes, at scale...

Re: RethinkDB joins the Linux Foundation: What Happens Next

#26
post #16
post #6

Sorry if this should be obvious but what is/are the killer feature/s of RethinkDB, what differentiates it from something like Redis or even CockroachDB?

Only RethinkDB gets you a) working changefeeds, where you can receive real-time changefeed updates to your queries, b) a well-implemented and Jepsen-proven distributed database. As far as I know, there is no other solution which gets both things right. I use it in PartsBox ( https://partsbox.io/ ), a solution for keeping track of electronic components. I am surprised more people aren't interested in changefeeds — the…

Well a) is provided by Mongo and is literally the reason why Meteor can do exactly what you described: multi-user webapps which update in real-time.

Re: RethinkDB joins the Linux Foundation: What Happens Next

#28

Earlier quoted context omitted.

Comes down to jenkins for me. RethinkDB aced the jenkins tests. Mongo has failed every jenkins test it's been put through, dunno about the status now though. Last I checked Mongo's default durability level was "data loss on power outage". Aerospike failed jenkins too, and not on small edge cases like Mongo, but with major dataloss. Going by the problems Gitlab has recently with Postgres I wouldn't use that for a dist…

I think you mean Jepsen? It's a slight exaggeration to say that RethinkDB aced it -- but they did very well[1] and (more importantly to me, honestly) Jepsen was used to find a subtle and nasty issue that was subsequently fixed.[2] [1] https://aphyr.com/posts/329-jepsen-rethinkdb-2-1-5 [2] https://aphyr.com/posts/330-jepsen-rethinkdb-2-2-3-reconfigu...

I've been having a lot of trouble with Jenkins at work today. So when I though Jepsen, I wrote Jenkins.

Still feel they aced it. No one passes Jepsen on their first try. But RethinkDB is the first to immediately fix the issue.

I wouldn't go as far as to call it a nasty issue. It would only happen if you got node failures while reconfiguring your cluster. And reconfiguring the cluster must be initiated by the admin and it's something that happens very often.

Re: RethinkDB joins the Linux Foundation: What Happens Next

#29
post #16

Earlier quoted context omitted.

Only RethinkDB gets you a) working changefeeds, where you can receive real-time changefeed updates to your queries, b) a well-implemented and Jepsen-proven distributed database. As far as I know, there is no other solution which gets both things right. I use it in PartsBox ( https://partsbox.io/ ), a solution for keeping track of electronic components. I am surprised more people aren't interested in changefeeds — the…

Well a) is provided by Mongo and is literally the reason why Meteor can do exactly what you described: multi-user webapps which update in real-time.

I couldn't find any documentation on change feeds for Mongo after a quick google search.

Could you post a link please?

Re: RethinkDB joins the Linux Foundation: What Happens Next

#30

Earlier quoted context omitted.

Well a) is provided by Mongo and is literally the reason why Meteor can do exactly what you described: multi-user webapps which update in real-time.

I couldn't find any documentation on change feeds for Mongo after a quick google search. Could you post a link please?

It's call the "oplog": https://docs.mongodb.com/manual/core/replica-set-oplog/
Post reply on HN