-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
can we use KingShard for the MinReplication Load Balancing #36
Comments
yes, you can use kingshard as a mysql server. It speak Mysql protocol. |
Thanks a lot flike! |
You can use multi nodes(one master and multi slaves) to hold the data. |
Can we add a functionality where the slave is selected which has the min replication lag? I can contribute too. |
yeah, welcome to contribute kingshard. But I think this function will make the load balancing disabled. |
Yes you are correct. But its a real life usecase in production. We could have a policy that says: |
en, I understand what you say. maybe this is another load banlancing policy of kingshard. You can contribute it in you branch, if many other users consider this function is very useful, I will merge it in the master branch. :) |
:) |
Use case:
The kingshard will connect to multiple slaves, the requests will go to the node with the minimum replication lag.
Also one question: does the proxy speak Mysql protocol? That is can I connect to the proxy like any other mysql server (from C program)?
If the functionality is not there, I would like to contribute. (Please provide the documentation in English)
The text was updated successfully, but these errors were encountered: