[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-607) Support floating-point numerals for decay factor
Radoslav Husar (JIRA)
issues at jboss.org
Wed Aug 9 05:18:00 EDT 2017
[ https://issues.jboss.org/browse/MODCLUSTER-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radoslav Husar updated MODCLUSTER-607:
--------------------------------------
Priority: Major (was: Minor)
> Support floating-point numerals for decay factor
> ------------------------------------------------
>
> Key: MODCLUSTER-607
> URL: https://issues.jboss.org/browse/MODCLUSTER-607
> Project: mod_cluster
> Issue Type: Feature Request
> Components: Core & Container Integration (Java)
> Affects Versions: 1.2.13.Final, 1.3.7.Final
> Reporter: Leandro Quiroga
> Assignee: Radoslav Husar
> Labels: decay
> Fix For: 2.0.0.Alpha1
>
>
> The int type is too restrictive for specifying the decay factor.
> Using a decay factor of 1 means no decay.
> Next value is 2, and the importance of loads decreases too fast:
> ||Instant||Importance||
> |0|100%|
> |1|50%|
> |2|25%|
> |3|12.5%|
> |4|6.3%|
> |5|3.1%|
> |6|1.6%|
> |7|0.8%|
> |8|0.4%|
> |9|0.2%|
> Next value is 3, and the importance of loads decreases even faster:
> ||Instant||Importance||
> |0|100%|
> |1|33%|
> |2|11%|
> |3|3.7%|
> |4|1.2%|
> |5|0.4%|
> |6|0.1%|
> |7|0.0%|
> |8|0.0%|
> |9|0.0%|
>
> Using a double for decay factor isn't complex and allows much more precision.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the mod_cluster-issues
mailing list