[CONCPP-113] Loadbalancing capabilities Created: 2023-06-08  Updated: 2023-06-19

Status: Open
Project: MariaDB Connector/C++
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Diego Dupin Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CONCPP-73 Loadbalancing for Connector/C++ Closed

 Description   

C++ should provide that some load balancing capabilities.

There can be different principes:

There can be different principles:

  • round-robin through multiple hosts of the same type (main or replica)
  • have a counter to know the number of connection for each connection.

The first implementation is easier to do.
The second implementation has the advantage that when a node failover is ready again, to directly report the load to this new node until the distribution is similar on all nodes.


Generated at Thu Feb 08 03:08:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.