News for hackers. Stuff that matters.
Re:CouchDB 2.0 by SEJeff on Tuesday September 20, 2016 @06:23PM (#12543892)
Sad to not see Jepsen tests ran on this at least by the developers when releasing a new clustering piece.

The folks working on cockroachdb recently did this[1] and it was a good read.

[1] https://www.cockroachlabs.com/blog/diy-jepsen-testing-cockro...

Re:CouchDB 2.0 by cbHXBY1D on Tuesday September 20, 2016 @07:15PM (#12544166)
Cloudant did it for their clustering implementation of CouchDB. See here: https://cloudant.com/blog/run-dmc-explains-network-partition...
Re:CouchDB 2.0 by robinson_k on Tuesday September 20, 2016 @07:19PM (#12544187)
CouchDB is eventually consistent and does not guarantee consistency. Would a Jepsen test make sense?
Re:CouchDB 2.0 by SEJeff on Tuesday September 20, 2016 @09:26PM (#12544779)
Yes. Eventual consistent doesn't mean inconsistent, but eventually it will be. That means under a network partition (P of th CAP Theorem) things should converge after the network converges. This is precisely the type of semantic that Aphyr wrote Jepsen for. See his testing of Cassandra (eventually consistent) or the CockroachDB team (eventually consistent) or Risk (eventually consistent) running Jespsen to prove things work as expected.
Re:CouchDB 2.0 by SEJeff on Wednesday September 21, 2016 @09:39AM (#12548024)
And by Risk I meant Riak but didn't notice it in time to edit the comment (sorry).
Re:CouchDB 2.0 by spotman on Tuesday September 20, 2016 @07:34PM (#12544266)
On their site they do say however: "And we care a lot about your data. CouchDB has a fault-tolerant storage engine that puts the safety of your data first."

So, yeah, I think even if eventually consistent, and not immediately consistent, they want you to feel they have taken care of your data when designing the thing, so seems prudent to do.

Re:CouchDB 2.0 by haimez on Tuesday September 20, 2016 @07:44PM (#12544308)
As a rule, yes. I'm not at all an expert on (or even all that familiar with) CouchDB, but if you make any guarantees at all about your distributed storage engine, then those guarantees are somehow testable.
Re:CouchDB 2.0 by janl on Wednesday September 21, 2016 @04:40AM (#12546437)
We’d definitely love a Jepsen write up, preferably by @aphyr himself. We just need to find out how to get that going :)
Re:CouchDB 2.0 by SEJeff on Wednesday September 21, 2016 @09:41AM (#12548039)
Here you go! Kyle is available to hire to do Jepsen testing if you're serious about it. Here is the page on how to go about it:

http://jepsen.io/analyses.html

Re:CouchDB 2.0 by janl on Wednesday September 21, 2016 @10:04AM (#12548226)
Oh, well aware of this. It’s just that we’d have to secure the funding, unless you wanna sponsor :)
Re:CouchDB 2.0 by SEJeff on Wednesday September 21, 2016 @10:10AM (#12548266)
Ha, sadly no. I'm just a fan of your software!
Re:CouchDB 2.0 by knv on Thursday September 22, 2016 @01:33PM (#12558553)
Why not start a Kickstarter for it?