Re: How to measure the write amplification of C*?

2016-03-23 Thread Dikang Gu
As a follow-up, I'm going to write a simple patch to expose the number of flushed bytes from memtable to JMX, so that we can easily monitor it. Here is the jira: https://issues.apache.org/jira/browse/CASSANDRA-11420 On Thu, Mar 10, 2016 at 12:55 PM, Jack Krupansky wrote: > The doc does say this

Re: How to measure the write amplification of C*?

2016-03-10 Thread Benjamin Lerer
Cassandra should not cause any write amplification. Write amplification appends only when you updates data on SSDs. Cassandra does not update any data in place. Data can be rewritten during compaction but it is never updated. Benjamin On Thu, Mar 10, 2016 at 12:42 PM, Alain RODRIGUEZ wrote: > H

Re: How to measure the write amplification of C*?

2016-03-10 Thread Alain RODRIGUEZ
Hi Dikang, I am not sure about what you call "amplification", but as sizes highly depends on the structure I think I would probably give it a try using CCM ( https://github.com/pcmanus/ccm) or some test cluster with 'production like' setting and schema. You can write a row, flush it and see how bi

How to measure the write amplification of C*?

2016-03-09 Thread Dikang Gu
Hello there, I'm wondering is there a good way to measure the write amplification of Cassandra? I'm thinking it could be calculated by (size of mutations written to the node)/(number of bytes written to the disk). Do we already have the metrics of "size of mutations written to the node"? I did n