polarismesh / polaris

Service Discovery and Governance Platform for Microservice and Distributed Architecture
https://polarismesh.cn
Other
2.41k stars 399 forks source link

增强eureka delta api的稳定性 #1249

Closed MI-cool closed 1 year ago

MI-cool commented 1 year ago

What is the feature you want to add? 增强eureka delta api的稳定性

Why do you want to add this feature? 在一次delta接口的结果中如果某个服务的实例先是被完全删除,然后有新增或者修改实例,则会导致eureka client计算的hash code与服务端不一致,触发eureka client全量更新。大量客户端的全量更新请求会导致服务端响应超时

企业微信截图_64908865-e774-4c8e-bea6-58bd90653637

How to implement this feature? 修改delta接口逻辑,避免上述情况