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

Change primary/secondary server list to priority list #12

Open
darkain opened this issue Dec 19, 2019 · 0 comments
Open

Change primary/secondary server list to priority list #12

darkain opened this issue Dec 19, 2019 · 0 comments

Comments

@darkain
Copy link
Owner

darkain commented Dec 19, 2019

Allow unlimited number of server priority levels.

eg:

1: db1
1: db2
2: db3
3: db4
4: db5

db1 and db2 share a priority. if both are unavailable, db3 is used. if that is unavailable, db4 and db5 share a priority.

helpful for database locality. an example:
1: same availability zone
2: same dc, different availability zone
3: different dc, same coastal region
4: different dc, same continent
5: different continent

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