Skip to content

[Feature Request] Virtual thread support in OpenSearch #18840

@abiesps

Description

@abiesps

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SearchSearch query, autocomplete ...etcenhancementEnhancement or improvement to existing feature or request

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions