Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4038

Investigate improving the dynamic snitch with reservoir sampling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.2.0 beta 1
    • None
    • None

    Description

      Dsnitch's UPDATES_PER_INTERVAL and WINDOW_SIZE are chosen somewhat arbitrarily. A better fit may be something similar to Metric's ExponentiallyDecayingSample, where more recent information is weighted heavier than past information, and reservoir sampling would also be an efficient way of keeping a statistically significant sample rather than refusing updates after UPDATES_PER_INTERVAL and only keeping WINDOW_SIZE amount.

      Attachments

        1. CASSANDRA-4038.patch
          13 kB
          Pavel Yaskevich

        Activity

          People

            xedin Pavel Yaskevich
            brandon.williams Brandon Williams
            Pavel Yaskevich
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: