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

[DocDb] Change reactor selection on Inbound connections to round robin #879

Open
bmatican opened this issue Feb 19, 2019 · 0 comments
Open
Assignees
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@bmatican
Copy link
Contributor

bmatican commented Feb 19, 2019

Jira Link: DB-1536
Currently, we use a hashing scheme to select which reactor thread to schedule both incoming and outgoing connections on.

For incoming connections, this has the drawback that it could lead to 2 connections being scheduled on the exact same reactor, thus sharing 1 CPU for 2 different clients worth of load, which creates a bottleneck. Using a round robin scheme here would help fanning out across all available reactors, helping under heavy load.

For outgoing connections, we would still like to keep the current hashing scheme, as we only have a fixed set (4) of outbound connections we use and would like to ensure stickiness on those.

@bmatican bmatican self-assigned this Mar 20, 2019
@bmatican bmatican added this to To Do in YBase features via automation Mar 20, 2019
@bmatican bmatican added the area/docdb YugabyteDB core features label Mar 3, 2022
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jun 8, 2022
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature and removed kind/bug This issue is a bug labels Jul 28, 2022
@rthallamko3 rthallamko3 changed the title Change reactor selection on Inbound connections to round robin [DocDb] Change reactor selection on Inbound connections to round robin Apr 2, 2024
@rthallamko3 rthallamko3 assigned rthallamko3 and unassigned bmatican Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
YBase features
  
Backlog
Development

No branches or pull requests

3 participants