-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[Feature Request] Virtual thread support in OpenSearch #18840
Copy link
Copy link
Open
Labels
SearchSearch query, autocomplete ...etcSearch query, autocomplete ...etcenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or request
Description
Is your feature request related to a problem? Please describe
In continuation to discussion here (#18833). We have found from our experiments that virtual threads are imperative to achieve maximum io concurrency in opensearch. Virtual threads can also make the problem of statically combining segments into partition a bit simpler, we can also assign a single segment (or part of a segment) to an independent virtual thread.
Describe the solution you'd like
We are proposing to use virtual thread as an alternative to searcher threadpool (and possibly search threadpool) to execute the queries. Virtual threads can also simplify the work assignment algorithms in intra and inter-segment concurrency.
Related component
No response
Describe alternatives you've considered
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
SearchSearch query, autocomplete ...etcSearch query, autocomplete ...etcenhancementEnhancement or improvement to existing feature or requestEnhancement or improvement to existing feature or request
Type
Projects
Status
🆕 New