Get the latest tech news

Histograms worked


Following up on the use of histograms to generate metric aggregates that can be used to generate charts over much wider time ranges like a week or a month.

Previously we’d been aggregating over raw data points, which worked surprisingly well, but was too slow for generating series for longer time ranges like a week or a month. When rendering metric charts in Dashboard, the service decides which aggregate coarseness to use based on requested interval and resolution: This limitation has been corrected in HdrHistogram implementations for other languages, but the Go port doesn’t see as much development activity, and hasn’t been updated for three years.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of histograms

histograms

Related news:

News photo

Histograms for Probability Density Estimation: A Primer