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

Search request resource consumption estimation #1182

Open
tushar-kharbanda72 opened this issue Aug 31, 2021 · 2 comments
Open

Search request resource consumption estimation #1182

tushar-kharbanda72 opened this issue Aug 31, 2021 · 2 comments
Labels
enhancement Enhancement or improvement to existing feature or request

Comments

@tushar-kharbanda72
Copy link
Contributor

Is your feature request related to a problem? Please describe.
#1042 aims to build back-pressure support for Search requests. This is the next phase of #1180 to make rejections more pro-active than reactive.

Describe the solution you'd like

Improve the framework added as part of (#1042) to also estimate the cost of new search queries, based on their potential resource utilisation. It can be achieved by looking at the past query patterns, with similar query constructs and the actual data on shard. This will help in building a pro-active back-pressure model for search requests, where estimates will be compared against the available resources during the admission decision for finer .

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@tushar-kharbanda72 tushar-kharbanda72 added the enhancement Enhancement or improvement to existing feature or request label Aug 31, 2021
@ansjcy
Copy link
Member

ansjcy commented Feb 8, 2024

@deshsidd @jainankitk this might be related to the cost estimation initiatives we have.

@deshsidd
Copy link
Contributor

deshsidd commented Feb 8, 2024

Thanks for bringing this up @ansjcy. @tushar-kharbanda72 We are actively working on a Search Query Cost Estimate proposal and we should have an RFC out shortly. This will be one of the many use-cases for the cost estimation effort. I know this issue and the linked ones were created a couple of years ago but hoping to get some traction. Will reach out to you when we have that out and would love to get your thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement or improvement to existing feature or request
Projects
Status: New
Development

No branches or pull requests

3 participants