Uploaded image for project: 'Sirona'
  1. Sirona
  2. SIRONA-63

basic exponential decay counter implemenation

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4-incubating
    • Labels:
      None

      Description

      1. active
        org.apache.sirona.counter.exponential-decay= true
      2. alpha in http://dimacs.rutgers.edu/~graham/pubs/papers/fwddecay.pdf
        org.apache.sirona.counter.exponential-decay.alpha = 0.015
      3. how many values to keep in mem
        org.apache.sirona.counter.exponential-decay.sampling-size= 512
      4. each 5 s refresh stats (= recompute)
        org.apache.sirona.counter.exponential-decay.refresh-seconds= 5

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in sirona-1.8 #129 (See https://builds.apache.org/job/sirona-1.8/129/)
        SIRONA-63 starting to impl exponential decay counter (rmannibucau: rev 1741282)

        • api/src/main/java/org/apache/sirona/counters/DefaultCounter.java
        • api/src/main/java/org/apache/sirona/counters/LockableCounter.java
        • api/src/main/java/org/apache/sirona/counters/OptimizedStatistics.java
        • pom.xml
        • store/memory/pom.xml
        • store/memory/src/main/java/org/apache/sirona/store/memory/counter/ExponentialDecayCounter.java
        • store/memory/src/main/java/org/apache/sirona/store/memory/counter/InMemoryCounterDataStore.java
        • store/memory/src/main/java/org/apache/sirona/store/memory/counter/LimitedInMemoryCounterDataStore.java
        • store/memory/src/test
        • store/memory/src/test/java
        • store/memory/src/test/java/org
        • store/memory/src/test/java/org/apache
        • store/memory/src/test/java/org/apache/sirona
        • store/memory/src/test/java/org/apache/sirona/store
        • store/memory/src/test/java/org/apache/sirona/store/memory
        • store/memory/src/test/java/org/apache/sirona/store/memory/counter
        • store/memory/src/test/java/org/apache/sirona/store/memory/counter/ExponentialDecayCounterTest.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in sirona-1.8 #129 (See https://builds.apache.org/job/sirona-1.8/129/ ) SIRONA-63 starting to impl exponential decay counter (rmannibucau: rev 1741282) api/src/main/java/org/apache/sirona/counters/DefaultCounter.java api/src/main/java/org/apache/sirona/counters/LockableCounter.java api/src/main/java/org/apache/sirona/counters/OptimizedStatistics.java pom.xml store/memory/pom.xml store/memory/src/main/java/org/apache/sirona/store/memory/counter/ExponentialDecayCounter.java store/memory/src/main/java/org/apache/sirona/store/memory/counter/InMemoryCounterDataStore.java store/memory/src/main/java/org/apache/sirona/store/memory/counter/LimitedInMemoryCounterDataStore.java store/memory/src/test store/memory/src/test/java store/memory/src/test/java/org store/memory/src/test/java/org/apache store/memory/src/test/java/org/apache/sirona store/memory/src/test/java/org/apache/sirona/store store/memory/src/test/java/org/apache/sirona/store/memory store/memory/src/test/java/org/apache/sirona/store/memory/counter store/memory/src/test/java/org/apache/sirona/store/memory/counter/ExponentialDecayCounterTest.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in sirona-1.7 #129 (See https://builds.apache.org/job/sirona-1.7/129/)
        SIRONA-63 starting to impl exponential decay counter (rmannibucau: rev 1741282)

        • api/src/main/java/org/apache/sirona/counters/DefaultCounter.java
        • api/src/main/java/org/apache/sirona/counters/LockableCounter.java
        • api/src/main/java/org/apache/sirona/counters/OptimizedStatistics.java
        • pom.xml
        • store/memory/pom.xml
        • store/memory/src/main/java/org/apache/sirona/store/memory/counter/ExponentialDecayCounter.java
        • store/memory/src/main/java/org/apache/sirona/store/memory/counter/InMemoryCounterDataStore.java
        • store/memory/src/main/java/org/apache/sirona/store/memory/counter/LimitedInMemoryCounterDataStore.java
        • store/memory/src/test
        • store/memory/src/test/java
        • store/memory/src/test/java/org
        • store/memory/src/test/java/org/apache
        • store/memory/src/test/java/org/apache/sirona
        • store/memory/src/test/java/org/apache/sirona/store
        • store/memory/src/test/java/org/apache/sirona/store/memory
        • store/memory/src/test/java/org/apache/sirona/store/memory/counter
        • store/memory/src/test/java/org/apache/sirona/store/memory/counter/ExponentialDecayCounterTest.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in sirona-1.7 #129 (See https://builds.apache.org/job/sirona-1.7/129/ ) SIRONA-63 starting to impl exponential decay counter (rmannibucau: rev 1741282) api/src/main/java/org/apache/sirona/counters/DefaultCounter.java api/src/main/java/org/apache/sirona/counters/LockableCounter.java api/src/main/java/org/apache/sirona/counters/OptimizedStatistics.java pom.xml store/memory/pom.xml store/memory/src/main/java/org/apache/sirona/store/memory/counter/ExponentialDecayCounter.java store/memory/src/main/java/org/apache/sirona/store/memory/counter/InMemoryCounterDataStore.java store/memory/src/main/java/org/apache/sirona/store/memory/counter/LimitedInMemoryCounterDataStore.java store/memory/src/test store/memory/src/test/java store/memory/src/test/java/org store/memory/src/test/java/org/apache store/memory/src/test/java/org/apache/sirona store/memory/src/test/java/org/apache/sirona/store store/memory/src/test/java/org/apache/sirona/store/memory store/memory/src/test/java/org/apache/sirona/store/memory/counter store/memory/src/test/java/org/apache/sirona/store/memory/counter/ExponentialDecayCounterTest.java

          People

          • Assignee:
            romain.manni-bucau Romain Manni-Bucau
            Reporter:
            romain.manni-bucau Romain Manni-Bucau
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development