-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
38 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const ROUND_ROBIN_ALGORITHM_HELPER_TEXT = | ||
'Round robin distributes connection requests to backend servers in weighted circular order.'; | ||
|
||
const LEAST_CONNECTIONS_ALGORITHM_HELPER_TEXT = | ||
'Least connections assigns connections to the backend with the least connections.'; | ||
|
||
const SOURCE_ALGORITHM_HELPER_TEXT = "Source uses the client's IPv4 address."; | ||
|
||
export const ALGORITHM_HELPER_TEXT = { | ||
leastconn: LEAST_CONNECTIONS_ALGORITHM_HELPER_TEXT, | ||
ring_hash: '', // @todo M3-9019 - Add copy as part of UDP NodeBalancer project | ||
roundrobin: ROUND_ROBIN_ALGORITHM_HELPER_TEXT, | ||
source: SOURCE_ALGORITHM_HELPER_TEXT, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters