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

auto rebalance sessions #613

Open
ahxxm opened this issue Nov 29, 2024 · 0 comments
Open

auto rebalance sessions #613

ahxxm opened this issue Nov 29, 2024 · 0 comments

Comments

@ahxxm
Copy link

ahxxm commented Nov 29, 2024

Introduction

On graphd/storaged reboots/failures, we observed that QPS skews toward remaining living servers, and QPS are never balanced again without intervention(client reboot, network fluctuation, etc).

The more servers we have, the lower the probability that a new session is created on a recently started server, because pos is only an index.

This undermines the purpose of a distributed database.

Proposal

Implement a new priority queue based on existing connections count for graphd server to replace pos, enabling each client to balance connections across all available servers. (I believe this would serve as a suitable default configuration.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant