Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Add rack-aware load balancing policy #1

Closed
wants to merge 7 commits into from
Closed

Conversation

martin-sucha
Copy link
Collaborator

We need to prefer local rack as there are higher network costs when associated with nodes in remote rack.

This is initial version, some things are still missing:

  • no tests yet
  • fallback to racks in local DC is not implemented yet (i.e. this version can connect to remote DC even if there is another rack in the local DC that we haven't tried yet)

martin-sucha and others added 7 commits December 20, 2022 20:00
We need to prefer local rack as there are higher network costs
when associated with nodes in remote rack.

This is initial version, some things are still missing:

* no tests yet
* fallback to racks in local DC is not implemented yet (i.e. this
  version can connect to remote DC even if there is another rack in
  the local DC that we haven't tried yet)
I forgot to uncomment this when debugging build yesteday.
We want to try local rack, local dc and then remote dcs, in that order.
There is no reason why not to try to use a replica first.
@martin-sucha
Copy link
Collaborator Author

Supeseded by #2

@tzach
Copy link

tzach commented Jun 13, 2023

Is this updated documented? it should!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants