basho/folsom — pull request #3 by russelldb (2012-05-21 12:11:31+00:00)
Title: Add a hybrid slide / uniform sample type

The time to calculate statistics is dependant on the number of samples. On a busy server a sliding window reservoir can end up with a lot of readings (20k ops/sec is 60*20k readings). This PR provides a hybrid sample type that keeps at most N readings per second in the sliding window, using a random uniform sample of the presented readings.