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

Query frontend: dynamic horizontal sharding #5617

Closed
fpetkovski opened this issue Aug 20, 2022 · 0 comments · Fixed by #5658
Closed

Query frontend: dynamic horizontal sharding #5617

fpetkovski opened this issue Aug 20, 2022 · 0 comments · Fixed by #5658

Comments

@fpetkovski
Copy link
Contributor

Is your proposal related to a problem?

Query frontend can split queries horizontally (by time range) using fixed intervals only. For example, If the split interval is set to 24h, queries for the past day will not be sharded horizontally.

Describe the solution you'd like

I would like to have a mechanism to make horizontal sharding more dynamic, so that the number of shards can be determined by the query time range.

An example solution would be to introduce min-horizontal-shards and min-split-interval parameters so that queries shorter than the split interval but longer than min-split-interval would also be sharded in min-horizontal-shards queries.

@fpetkovski fpetkovski changed the title Query frontend: dynamic horizontal sharding interval Query frontend: dynamic horizontal sharding Aug 20, 2022
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

Successfully merging a pull request may close this issue.

1 participant