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
{{ message }}
Repository navigation
Extension of LoadBalance (a small suggestion for loadbalance policy when there's less than 2 providers) #934
changed the title [-]Extension of LoadBalance (超过2个provider才进行扩展select)[/-][+]Extension of LoadBalance (超过2个provider才进行扩展select的小建议)[/+]on Nov 27, 2017
changed the title [-]Extension of LoadBalance (超过2个provider才进行扩展select的小建议)[/-][+]Extension of LoadBalance (a small suggestion for loadbalance policy when there's less than 2 providers)[/+]on Dec 4, 2017
Assuming that the three normal services can maintain the business, notify the container platform to rebuild the service or notify the alarm platform when the payload encounters only one or no invoker alive
Activity
[-]Extension of LoadBalance (超过2个provider才进行扩展select)[/-][+]Extension of LoadBalance (超过2个provider才进行扩展select的小建议)[/+]chickenlj commentedon Dec 4, 2017
That's a good point, we'll discuss the feasibility
[-]Extension of LoadBalance (超过2个provider才进行扩展select的小建议)[/-][+]Extension of LoadBalance (a small suggestion for loadbalance policy when there's less than 2 providers)[/+]hebo1982 commentedon Feb 28, 2018
确实碰到了这样的问题。
在通过loadbalance做会话保持,当两个节点时,会话保持不了。
Sirius-LiXiaoQi commentedon Mar 5, 2018
是的,因为没到扩展逻辑就返回了,是为替大众用户思考的呢,少一次代理负载的逻辑,但是对于freeStyle的小伙伴们受限了,让我们奔放吧
diecui1202 commentedon May 4, 2018
Get it. I will do it in a few days.
diecui1202 commentedon May 7, 2018
After discussing with @chickenlj , we decide to remove 140-142 lines, as the following shows:
Because the
selectedparam is not null only when retry or in ForkingClusterInvoker. And the reselect function will finally select a available invoker.So these 3 lines code seems unnecessary.
fix apache#934 use loadBalance policy to choose invoke when providers…
Sirius-LiXiaoQi commentedon May 29, 2018
@diecui1202 @chickenlj Pretty Good,But the only one invoker exists ,and we also can't expand our intentions.
diecui1202 commentedon May 29, 2018
Could you tell us the scenario that need to expand when only 1 invoker exists.
Sirius-LiXiaoQi commentedon May 29, 2018
Assuming that the three normal services can maintain the business, notify the container platform to rebuild the service or notify the alarm platform when the payload encounters only one or no invoker alive
Fix apache#934 apache#1756 use loadBalance policy to choose invoke wh…
fix default setting (#4955)