We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Similar to #7169, duplicate requests of expanding postings for the same matchers, can consume a lot of bandwidth and CPU.
Introduce https://pkg.go.dev/golang.org/x/sync/singleflight to https://github.com/thanos-io/thanos/blob/main/pkg/store/bucket.go#L1099 to dedup ExpandPostings requests.
ExpandPostings
It is not enough to just do #7169 because #7169 only dedups requests to cache. However, postings insection/merge operations are still duplicated.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is your proposal related to a problem?
Similar to #7169, duplicate requests of expanding postings for the same matchers, can consume a lot of bandwidth and CPU.
Describe the solution you'd like
Introduce https://pkg.go.dev/golang.org/x/sync/singleflight to https://github.com/thanos-io/thanos/blob/main/pkg/store/bucket.go#L1099 to dedup
ExpandPostings
requests.It is not enough to just do #7169 because #7169 only dedups requests to cache. However, postings insection/merge operations are still duplicated.
The text was updated successfully, but these errors were encountered: