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

does AllFastestRoute route consider miss as errors? #436

Open
weiwongfaye opened this issue Oct 7, 2023 · 0 comments
Open

does AllFastestRoute route consider miss as errors? #436

weiwongfaye opened this issue Oct 7, 2023 · 0 comments

Comments

@weiwongfaye
Copy link

weiwongfaye commented Oct 7, 2023

docs says:
Immediately sends the same request to all child route handles. Returns the first non-error reply to come back, or if all replies are errors, then the last error reply. Other requests complete in the background and their replies are silently ignored.

does miss count as errors? suppose I have two pools in different AZ, one of the memcached node in one AZ restart and lost value, will AllFastestRoute help get the value from the other pool which still hold the value?

btw, MissFailoverRoute doesn't meet our needs as we still want each AZ server response to requests coming from same AZ consider about the latency, that's why we choose AllFastestRoute, however, it seems AllFastestRoute can't handle the restart case above. (miss doesn't recognized as error)

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

No branches or pull requests

1 participant