zrlw commented on issue #13298:
URL: https://github.com/apache/dubbo/issues/13298#issuecomment-1811024423

   收到,暂时打算用metadata-type=remote的方式绕过这个问题了:
   1. 先通过应用名从注册中心查到应用实例的revision
   2. 再去元数据中心查应用名+revision对应的实例元数据,解析元数据里的接口名
   3. 通过前两步构建起各个接口名到应用名的mapping,会同实例数据一起同步到目标集群。
   
   首先我们各个应用都是蓝绿部署模式,所以各应用实例的revision都是2个,revision数量有限,把它们全存到元数据中心应该是可行的;
   
其次,相比接口级别,采用应用级别注册方式的优点很明显,源集群注册实例少了,注册中心之间需要同步的实例数量也会少,注册中心和nacos-sync的压力都会变小。


-- 
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