Replies: 2 comments
-
You can use this function. https://gist.github.com/wenkaler/b56305db53ffa8852b8876e3e4e5627d |
Beta Was this translation helpful? Give feedback.
0 replies
-
@wenkaler Actually it solves only my problem but this approach doesn't allow to balance traffic by weight between instances. Also i am not sure that relying on endpoints order is a good practice. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My
sd.Endpointer
have endpoints which call different data centers. Round Robin choses endpoints on a cyclic basis but call of some instances, placed further than other ones, takes longer time. I want the call of further endpoint only to come when near endpoint returns error. Is there way to give a priority to endpoint? If there is no realization please help me with design.Beta Was this translation helpful? Give feedback.
All reactions