You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@spacewander yes, there's a chance that tried and failed endpoint gets picked again. Yes, it is also an issue that we only count the first one in every retry. Changing that to last one makes sense to me, effectively it means we count every try. It almost feels like the algorithm is designed with the assumption that NGINX prepends every next try to those upstream_ variables (whereas in fact NGINX appends).
Are you interested in sending a patch? I'd be happy to further assist.
After reading https://github.com/kubernetes/ingress-nginx/blob/master/rootfs/etc/nginx/lua/balancer/ewma.lua. I have some questions:
ingress-nginx/rootfs/etc/nginx/lua/balancer/ewma.lua
Lines 183 to 186 in 7a02609
The text was updated successfully, but these errors were encountered: