Skip to content

feat: add client-side round-robin load balancing for Core clusters#490

Open
fstr wants to merge 2 commits intomainfrom
fstr/client-side-lb
Open

feat: add client-side round-robin load balancing for Core clusters#490
fstr wants to merge 2 commits intomainfrom
fstr/client-side-lb

Conversation

@fstr
Copy link
Contributor

@fstr fstr commented Mar 20, 2026

Description
Implements firebolt-db/firebolt-go-sdk#188 in Python SDK.

  • Add client_side_lb flag that can be used with auth=FireboltCore(). If the property is not provided for Core, it is set to True by default.
  • When client_side_lb is set, we create a re-usable connection pool for every IP address that the hostname resolved to and then do round-robin load balancing among all targets. Without this feature, when a Kubernetes Headless Service with multiple endpoints is used, all requests would always go to the IP that was picked first.

@fstr fstr requested a review from a team as a code owner March 20, 2026 10:25
@fstr fstr force-pushed the fstr/client-side-lb branch from 17e2955 to 68ece0d Compare March 21, 2026 08:04
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
6.6% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

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.

3 participants