[ 
https://issues.apache.org/jira/browse/GEODE-6446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacob S. Barrett updated GEODE-6446:
------------------------------------
    Attachment:     (was: Screen Shot 2019-02-23 at 6.35.24 AM.png)

> Optimize gauge type stats
> -------------------------
>
>                 Key: GEODE-6446
>                 URL: https://issues.apache.org/jira/browse/GEODE-6446
>             Project: Geode
>          Issue Type: Improvement
>          Components: statistics
>            Reporter: Jacob S. Barrett
>            Priority: Major
>         Attachments: Screen Shot 2019-02-23 at 6.43.39 AM.png
>
>
> The new {{StripedStatisticsImpl}} uses {{LongAdder}} and {{DoubleAdder}}, 
> which are not optimized for setting specific values like one would with a 
> gauge type statistic. As such, {{StripedStatisticsImpl}} has to synchronize 
> set and get operations to avoid races. Consider optimization that uses 
> {{AtomicLong}} or well suited structure.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to