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
dispatcher: algorithm 13 latency optimized round-robin with failover #2493
Conversation
b7a915e
to
473c42c
Compare
|
51c155f
to
f7c98e2
Compare
This pull request introduces 1 alert when merging f7c98e2 into 9935dc8 - view on LGTM.com new alerts:
|
looked at it, |
f7c98e2
to
dbfe2d8
Compare
This pull request introduces 1 alert when merging dbfe2d8 into e3e6471 - view on LGTM.com new alerts:
|
dbfe2d8
to
46745e5
Compare
This pull request introduces 1 alert when merging 46745e5 into a1620fa - view on LGTM.com new alerts:
|
46745e5
to
8dfe043
Compare
dffc88f
to
b793b96
Compare
This pull request introduces 1 alert when merging b793b96 into e9624bc - view on LGTM.com new alerts:
|
b16fc8d
to
1c819e0
Compare
dfacc80
to
b2ac69e
Compare
- latency optimized round-robin with failover - optionally congestion can be use instead of latency - thanks to Salman Ali (asalman18) for the review
b2ac69e
to
cf6e89c
Compare
Load tested Friday the 13th :) 3 gateways, one with excessive ( latency >30ms delta with the 2 others since a priority of 30 is set)
algorithm is doing round-robin on GW5072 and GW5073 and keep GW5071 for failover
|
Thank you for the pull request, and also the announcement on the list. |
Type Of Change
Checklist:
Description
Previously discussed in the mailing list :
“13” - latency optimized dispatching .
the priority will be lowered by 1 point every time the latency ms is as high as the priority.
Using this simple formula :
ADJUSTED_PRIORITY = PRIORITY - (ESTIMATED_LATENCY/PRIORITY)
With congestion control the formula becomes :