Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream data for aggregations without grouping #234

Open
fpetkovski opened this issue Apr 7, 2023 · 0 comments
Open

Stream data for aggregations without grouping #234

fpetkovski opened this issue Apr 7, 2023 · 0 comments

Comments

@fpetkovski
Copy link
Collaborator

fpetkovski commented Apr 7, 2023

When running an aggregation like sum(metric), we can stream all series into an aggregate instead of blocking to fetch data before we start execution. The aggregate can compute values for evaluation steps one series at a time instead of one step at a time.

The reason why we can do this is because the end result will be guaranteed to have a cardinality of 1 so holding intermediary per-step aggregates in memory will be fairly cheap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant