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

Move get-aliases handling onto management thread #74053

Conversation

DaveCTurner
Copy link
Contributor

Today we handle get-aliases requests on a transport thread, but if there
are ludicrous numbers of aliases then this can take substantial time.
There's no need to avoid a context switch for this API, it's not
performance-critical, so this commit moves the work onto a management
thread instead.

Today we handle get-aliases requests on a transport thread, but if there
are ludicrous numbers of aliases then this can take substantial time.
There's no need to avoid a context switch for this API, it's not
performance-critical, so this commit moves the work onto a management
thread instead.
@DaveCTurner DaveCTurner added :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. >bug v7.14.0 v8.0.0 labels Jun 14, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team label Jun 14, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Member

@tlrx tlrx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@DaveCTurner
Copy link
Contributor Author

Thanks @tlrx!

@DaveCTurner DaveCTurner merged commit 62515ad into elastic:master Jun 14, 2021
DaveCTurner added a commit that referenced this pull request Jun 14, 2021
Today we handle get-aliases requests on a transport thread, but if there
are ludicrous numbers of aliases then this can take substantial time.
There's no need to avoid a context switch for this API, it's not
performance-critical, so this commit moves the work onto a management
thread instead.
@DaveCTurner DaveCTurner deleted the 2021-06-14-get-aliases-on-management-thread branch September 14, 2022 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/CRUD A catch all label for issues around indexing, updating and getting a doc by id. Not search. Team:Distributed Meta label for distributed team v7.14.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants