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

Introduce round robin load balancer to matching client #6300

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

Shaddoll
Copy link
Member

What changed?
Introduce round robin load balancer to matching client

Why?
Try new routing algorithms to improve latency for matching

How did you test it?
unit tests

Potential risks

Release notes

Documentation Changes

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

Attention: Patch coverage is 97.50000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 73.22%. Comparing base (c8abc2a) to head (7fd4f7d).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
client/matching/rb_loadbalancer.go 96.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
Files with missing lines Coverage Δ
client/matching/multi_loadbalancer.go 100.00% <100.00%> (ø)
client/matching/rb_loadbalancer.go 96.66% <96.66%> (ø)

... and 4 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8abc2a...7fd4f7d. Read the comment docs.

@davidporter-id-au
Copy link
Member

What is the theory by which this is expected to improve matching performance? I'm just not understanding what effect this might have ?

@Shaddoll
Copy link
Member Author

What is the theory by which this is expected to improve matching performance? I'm just not understanding what effect this might have ?
It also ensures even distribution, why bother not testing it?

@@ -0,0 +1,158 @@
// The MIT License (MIT)
Copy link
Member

Choose a reason for hiding this comment

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

nit: shouldn't file name be rr_loadbalancer? :)

@Shaddoll Shaddoll merged commit c9c8c14 into cadence-workflow:master Sep 26, 2024
18 checks passed
@Shaddoll Shaddoll deleted the round-robin branch September 26, 2024 17:11
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