Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-606

Documentation Error - Chapter 10 - Time decay formulas

    XMLWordPrintable

    Details

      Description

      In chapter 10 (http://docs.jboss.org/mod_cluster/1.3.0/html_single/#java.load), it says:

      The DynamicLoadBalanceFactorProvider applies a time decay function to the loads returned by each metric. The aggregate load, with respect to previous load values, can be expressed by the following formula:

      L = (L 0 + L 1/D + L 2/D 2 + L 3/D 3 + ... + L H/D H) * (1 + D + D 2 + D 3 + ... D H)

      ... or more concisely as:

      L = (∑Hi=0 L i/D i) * (∑Hi=0 D i)

      ... where D = decayFactor, and H = history.

      But both formulas are wrong.

      It should says:

      The DynamicLoadBalanceFactorProvider applies a time decay function to the loads returned by each metric. The aggregate load, with respect to previous load values, can be expressed by the following formula:

      L = (L 0/D 0 + L 1/D 1 + L 2/D 2 + L 3/D 3 + ... + L H/D H) / (1/D 0 + 1/D 1 + 1/D 2 + 1/D 3 + ... 1/D H)

      ... or more concisely as:

      L = (∑Hi=0 L i/D i) / (∑Hi=0 1/ D i)

      ... where D = decayFactor, and H = history.

        Attachments

          Activity

            People

            Assignee:
            jfclere Jean-Frederic Clere
            Reporter:
            leaqui Leandro Quiroga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified