cassandra/test
Jeff Jirsa a5ce963117 Faster streaming histograms
In ttl-heavy use cases (especially tables with default time to live set), the
streaming histograms calculated during compaction and streaming are very inefficient.

This patch addresses that in two ways:
1) It creates a system property -Dcassandra.streaminghistogram.roundseconds=60,
and rounds all histograms to the next highest multiple of that value, and
2) Rather than maintaining a histogram of 100 bins that have to be merged
on every new value, we keep a temporary spool of 100000 bins, and merge
down to the 100 bin final histogram only when the temporary spool overflows.

Patch by Jeff Jirsa; Reviewed by Nate McCall for CASSANDRA-13038
2017-02-27 17:21:48 -08:00
..
burn/org/apache/cassandra Merge branch 'cassandra-2.1' into cassandra-2.2 2015-09-30 19:47:14 +01:00
conf Debug logging for unit tests 2016-08-17 15:08:08 +02:00
data Fix legacy regex for temporary files from 2.2 2016-09-01 10:05:37 +08:00
long/org/apache/cassandra Merge branch 'cassandra-2.2' into cassandra-3.0 2017-02-23 11:01:32 +09:00
microbench/org/apache/cassandra/test/microbench Faster streaming histograms 2017-02-27 17:21:48 -08:00
resources Handle CQL row marker in SSTableImport 2014-08-15 13:11:47 -07:00
unit/org/apache/cassandra Faster streaming histograms 2017-02-27 17:21:48 -08:00