RainYuY commented on issue #16577:
URL: https://github.com/apache/dubbo/issues/16577#issuecomment-6794587045

   You could consider using dynamic routing rules for this scenario. Assuming 
the consumer can discover both A and B as providers of the same Dubbo service, 
keep the rule targeting B normally, update it to target the two selected A 
instances when B goes offline, and restore B as the target when it recovers.
   
   For this approach, automatic switching would require availability detection 
and rule updates in your control plane or automation. Simply putting B and the 
two backup A instances into the same tag group would allow traffic to reach A 
even while B is available.
   
   See the [dynamic tag routing 
documentation](https://dubbo.apache.org/en/overview/what/core-features/traffic/tag-rule/)
 for defining and updating the target instance groups.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to