News for hackers. Stuff that matters.
Re:FoundationDB vs. Jepsen by AdrianRossouw on Tuesday March 25, 2014 @01:32PM (#7467342)
has there been one for couchdb yet?
Re:FoundationDB vs. Jepsen by rdtsc on Tuesday March 25, 2014 @03:28PM (#7468303)
With couchdb you can set up your own couch cluster replication topology:

* master-slave

* a tree

* a ring

* a ring with overlaps

* completely connected graph

Well basically any graph topology you like. Replications can be pull or push. The downside is you are in charge of handling and setting up proxies and deciding how memebership is handled. Whether you have a proxy or not and if so how do client pick were to write etc.

Also CouchDB only offers atomic document transaction. If you need atomic multi-document transactions you have to use a transaction log based on single docs.

But you get continuous replication, a nice browser GUI that helps you debug as you develop, and most of all, a well defined conflict model when there are conflicts in your database.

It would seem to be Jepsen like test doesn't make sense for CDB as it doesn't ship with a default single cluster setup.

Re:FoundationDB vs. Jepsen by rancor on Tuesday March 25, 2014 @01:38PM (#7467397)
There has not to my knowledge. As a CouchDB user I'm definitely interested in the results, but it's not clear to me what cluster configuration to test.
Re:FoundationDB vs. Jepsen by jrullmann on Tuesday March 25, 2014 @01:46PM (#7467466)
You'll need two pieces to run Jepsen against a database:

1. Code to provision a five cluster database (using Aphyr's Salticid deployment system)

2. Code to do some reads and writes to the database (this is run by Jepsen)

It might be helpful to look through the pull request I submitted to Aphyr for FoundationDB's test, so you can see the pieces: https://github.com/aphyr/jepsen/pull/10

Re:FoundationDB vs. Jepsen by rancor on Tuesday March 25, 2014 @02:21PM (#7467734)
Thanks, that's super helpful. A great writeup, by the way.
Re:FoundationDB vs. Jepsen by jrullmann on Tuesday March 25, 2014 @02:29PM (#7467792)
Thanks - it was a great way to learn more about the database, and the effect of network partitions in general.
Re:FoundationDB vs. Jepsen by willholley on Thursday April 03, 2014 @06:14AM (#7521897)
We (Cloudant) ran a Jepsen-style test against our clustered CouchDB implementation (similar to BigCouch). The write-up is at https://cloudant.com/blog/run-dmc-explains-network-partition....

The clustering layer is getting merged into CouchDB and will provide semantics closer to other Dynamo-style systems (e.g. Cassandra, Riak).