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

Adaptive replica Selection - Factor in node resource utilisation #1183

Open
tushar-kharbanda72 opened this issue Aug 31, 2021 · 0 comments
Open
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 which further relies on #1179 for resource tracking. That info can be factored into Adaptive replica ranking for shard selection and can help avoid nodes which are already running low system resources.

Describe the solution you'd like

Currently, for Adaptive replica selection the tasks in search thread-pool queue are factored in while coming up with the ranking for the target shards. To be more accurate on this we can factor in the resource utilisation for search requests, and take better routing decisions on the coordinator. This will help avoiding the shards under stress giving them time to recover, while also allowing fast-fail decisions (#1181) on coordinator, if required.

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.

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
None yet
Development

No branches or pull requests

1 participant