Companion

Properties

Link copied to clipboard
const val BASELINE_PERIODS: Int = 60

The periods the baseline is the median of: a minute of one-second periods, long enough that a burst of slow seconds (a prime, a compaction) stays in the minority, short enough that the latency of a store whose load changed for good is its baseline within half a minute.

Link copied to clipboard
const val MAX_SAMPLES: Int = 1024

The latencies a period keeps, its latest.

Link copied to clipboard
const val MIN_APPENDS: Int = 5

The fewest appends of a period whose latency says anything.

Link copied to clipboard
const val PERCENTILE: Double = 0.9

The percentile a period reports.