Skip to content

Don't route when destination is ambiguous #196

Answered by Tratcher
rwkarg asked this question in General
Discussion options

You must be logged in to vote

Let me distinguish terms for a moment. Routing happens early where it matches the request parameters and selects a backend group. All destination servers in that group are supposed to be able to handle that request, and it's primarily a Load Balancing decision to pick a single destination server from the list. Given they're all equivalent, routing seemed preferable to failing fast. We chose randomly because it provides a surprisingly good load balancing distribution for minimal effort.

Put another way, the cost of failing fast in this scenario is high, the request (and likely all requests) does not get processed. Compared to the cost of continuing, the requests get processed with ok effic…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by karelz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #196 on June 08, 2020 18:45.