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

enhance load balancer for conn to graph #244

Open
lee-qiu opened this issue Jan 9, 2023 · 2 comments
Open

enhance load balancer for conn to graph #244

lee-qiu opened this issue Jan 9, 2023 · 2 comments
Labels

Comments

@lee-qiu
Copy link

lee-qiu commented Jan 9, 2023

considering 1 situation:
when one graph shutdown, then sessions connected to this graph will reconnect to others. if session pool is never updated, this graph will never be used although it maybe be recovered lately. and this case is regular when upgrading graph.

if this is true, maybe we should enhance the load balancer in session pool or connection pool. for example, we can build a map with key=address, val=sessions to it, define min/max session size to each address and then update session to each address timely?

@wey-gu
Copy link
Contributor

wey-gu commented Jan 30, 2023

cc @Aiee @yixinglu what do you think, please?

@dutor
Copy link
Contributor

dutor commented Sep 5, 2023

Sorry about the late response.

We have noticed this issue for quite a while and proposed some solution similar to yours, but this issue remains due to our limited resource.

We are glad to receive a patch to address this if you would like to contribute.

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

No branches or pull requests

4 participants