When are we going to be finished with raw speed tests? I get it that faster is better. But I've always been a believer that good design will get you farther than choosing one software/hardware/infrastructure over another. Also, I get the comparison of MongoDB and Couchbase. But why Cassandra from DataStax? It's a completely different technology with entirely different strengths and weaknesses. There are certainly ove…
Performance is a reflection of architecture. Better performance, better architecture. That, and you can never downplay performance.
MongoDB and DataStax, In the Rearview Mirror
21–30 of 55 posts
Re: MongoDB and DataStax, In the Rearview Mirror
#22You know what would be a nice twist, if database vendors added jepsen runs to their benchmarking mix.
Re: MongoDB and DataStax, In the Rearview Mirror
#23Does anyone know if Couchbase can be used as a TB sized data warehouse? Seems a bit difficult since it seems all keys must be stored in memory.
When it worked, it was very fast. When you lost a node, things went bad. The java client would lose it's mind trying to cope with an outage. We ended up writing a connection pool were we could just recreate our connections when we detected a node went out.
That said, it was the best distributed NoSQL solution we tried and might have improved a lot since I last used it.
Re: MongoDB and DataStax, In the Rearview Mirror
#24It's pretty irresponsible of Couchbase to post this on their blog given that statement. The benchmark is EXTREMELY limited in scope. Crucially, it's mostly about raw speed in a fairly artificial set of use cases. They only used one size of record for for christ's sake.
I'd say more, but I'll hold off till the final report.
Re: MongoDB and DataStax, In the Rearview Mirror
#25> ...while keeping most of the working set in RAM So if the benchmark's about data being served from RAM, how come Redis isn't a part of it? #onlyasking
Re: MongoDB and DataStax, In the Rearview Mirror
#26Re: MongoDB and DataStax, In the Rearview Mirror
#27Re: MongoDB and DataStax, In the Rearview Mirror
#28A response from Jonathan Ellis, via jancona: http://www.datastax.com/dev/blog/how-not-to-benchmark-cassan...
Re: MongoDB and DataStax, In the Rearview Mirror
#29Earlier quoted context omitted.
Well, writes are not durable until fsync. That's true for MongoDB, Cassandra and Couchbase Server. That being said, Cassandra demonstrated great write latency. The issue was read latency.
Of course they are not durable until fsync; that is why having an upper bound on how long that will be is important. Out of the box Cassandra defaults to an upper bound of 10s. Couchbase defaults to no upper bound at all -- you can lose arbitrary amounts of data on power loss. That's a huge difference. Since Couchbase does not support a time bound on fsyncs, there are two ways to make a fair comparison: make both sys…
Re: MongoDB and DataStax, In the Rearview Mirror
#30Earlier quoted context omitted.
Of course they are not durable until fsync; that is why having an upper bound on how long that will be is important. Out of the box Cassandra defaults to an upper bound of 10s. Couchbase defaults to no upper bound at all -- you can lose arbitrary amounts of data on power loss. That's a huge difference. Since Couchbase does not support a time bound on fsyncs, there are two ways to make a fair comparison: make both sys…
As can Cassandra. It depends on how much data is still in the page cache. I do agree both systems can be configured for immediate durability. However, we went with the default values as most people (and most databases) do not sync on every write. It is too much of a performance cost.
People can and do run Cassandra with full durability. When people understand the tradeoff between performance and data loss on power failure, you'd be surprised how often they'll chose real durability. (And by batching concurrent writes into the same fsync, the penalty isn't nearly as high as it would be in a naive implementation.)