AlexStocks edited a comment on issue #1141:
URL: https://github.com/apache/dubbo-go/issues/1141#issuecomment-817224471


   > 其他获取key的方法是不是也有这样的问题呢
   
   如果有问题,肯定都有问题,处理机制类似。先根据通知下线中一些可靠字段【譬如 timestamp?】确认下线服务的准确性。
   
   这里面有个前提是:注册中心通知事件的有序性。
   
   梳理下我们支持的注册中心对这个特性的支持特点:
   1 etcd 有 revision 的概念, 这个是数据的全局版本号,是可以保证有序的;
   2 基于 etcd 的 k8s 也是可以保证的;
   3 类似于 etcd 的 consul是可以保证的;
   4 zk 也可以保证有序,只不过事件可能丢,这个可以通过 dubbo/dubbogo health check 进行补偿;
   5 nacos不确定,我去咨询下。


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

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