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

Add proxy to multi backends feature #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deepdivenow
Copy link

Add feature for proxy to multiple backends.
This feature is needed so that the stolon-proxy can proxy to multiple replicas.

PS: Changes not back compatible =(

if backResult == nil {
backResult = b
connNum = atomic.LoadInt32(&b.connNum)
continue
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a biggie.

Maybe rename it as leastConnNum or something to signify that's the least connection count.

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

Successfully merging this pull request may close these issues.

2 participants