Skip to content

Implemented load balancing for multiple hosts - #3624

Merged
vonzshik merged 9 commits into
npgsql:mainfrom
vonzshik:3623-multiple-hosts-load-balancing
Apr 3, 2021
Merged

vonzshik merged 9 commits into
npgsql:mainfrom
vonzshik:3623-multiple-hosts-load-balancing

Conversation

@vonzshik

Copy link
Copy Markdown
Contributor

Closes #3623

@vonzshik
vonzshik requested a review from roji as a code owner March 31, 2021 15:37
Comment thread src/Npgsql/MultiHostConnectorPool.cs Resolved
Comment thread src/Npgsql/MultiHostConnectorPool.cs Resolved
Comment thread test/Npgsql.Tests/MultipleHostsTests.cs Resolved
Comment thread test/Npgsql.Tests/MultipleHostsTests.cs Resolved
Comment thread test/Npgsql.Tests/MultipleHostsTests.cs Resolved
@vonzshik
vonzshik requested a review from roji April 3, 2021 13:39

@roji roji left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great. There's still the outstanding question of locking vs. Interlocked... I think we should do the Interlocked, but if you prefer locking I'm OK with merging that as well.

Comment thread test/Npgsql.Tests/MultipleHostsTests.cs Resolved
@vonzshik
vonzshik requested a review from roji April 3, 2021 17:57
@vonzshik
vonzshik enabled auto-merge (squash) April 3, 2021 18:14
@vonzshik
vonzshik merged commit dbdd415 into npgsql:main Apr 3, 2021
@vonzshik
vonzshik deleted the 3623-multiple-hosts-load-balancing branch April 3, 2021 18:20
@roji roji linked an issue Apr 4, 2021 that may be closed by this pull request
4 tasks done
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.

Implement load balancing for multiple hosts Multiple hosts, failover and load balancing

2 participants