You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While configuring Histograms the expectation is that 16 bytes would be used per bucket (8 bytes - for bucket bound, 8 bytes - for a count of values at a bound). But it seems using StepBucketHistogram (also TimeWindowFixedBoundaryHistogram) uses 8 additional bytes in addition to the required bytes. This is because these implementations seem to hold a local copy of buckets which costs for additional memory footprint.
Expected Behaviour:
Histogram only uses (2 * 8) bytes per bucket.
The text was updated successfully, but these errors were encountered:
A FixedBoundaryHistogram is used by StepBucketHistogram, so there is no need for StepBucketHistogram to maintain a field of the buckets itself. This changes to get the buckets from the underlying FixedBoundaryHistogram when needed.
See gh-4954
While configuring Histograms the expectation is that 16 bytes would be used per bucket (8 bytes - for bucket bound, 8 bytes - for a count of values at a bound). But it seems using StepBucketHistogram (also TimeWindowFixedBoundaryHistogram) uses 8 additional bytes in addition to the required bytes. This is because these implementations seem to hold a local copy of buckets which costs for additional memory footprint.
Expected Behaviour:
Histogram only uses (2 * 8) bytes per bucket.
The text was updated successfully, but these errors were encountered: