[jira] [Created] (FLINK-12982) Make DescriptiveStatisticsHistogramStatistics a true point-in-time snapshot

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-12982) Make DescriptiveStatisticsHistogramStatistics a true point-in-time snapshot

Shang Yuanchun (Jira)
Nico Kruber created FLINK-12982:
-----------------------------------

             Summary: Make DescriptiveStatisticsHistogramStatistics a true point-in-time snapshot
                 Key: FLINK-12982
                 URL: https://issues.apache.org/jira/browse/FLINK-12982
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Metrics
            Reporter: Nico Kruber
            Assignee: Nico Kruber


Instead of redirecting {{DescriptiveStatisticsHistogramStatistics}} calls to {{DescriptiveStatistics}}, it takes a point-in-time snapshot using an own
UnivariateStatistic implementation that
* calculates min, max, mean, and standard deviation in one go (as opposed to four iterations over the values array!)
* caches pivots for the percentile calculation to speed up retrieval of multiple percentiles/quartiles

This is similar to the semantics of our implementation using codahale's {{DropWizard}}.



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