Lei Jiang

Results comments of Lei Jiang

A new algorithms "[Consistent Hashing with Bounded Loads](https://cn.bing.com/academic/profile?id=444fbd87cfcfb664f18caac119986420&encoded=0&v=paper_preview&mkt=zh-cn#)"introduced by Vahab Mirrokni (work at Google Research) in 2018 can resolve this problem.

Brief introduction quoted from a blog which use this new algorithm and works well (https://medium.com/vimeo-engineering-blog/improving-load-balancing-with-a-new-consistent-hashing-algorithm-9f1bd75709ed): Here is a simplified sketch of the algorithm. Some details are left out, and if...

@beiwei30 Please help me review the above PR.

鉴权服务和各个微服务之间是可信内网通信吗?如果外网负责环境的话是不是还要考虑下HTTPS和TLS的中间人攻击问题,AK/SK下发和更新过程中可能会被中间人截获。

当然这样考虑问题就会复杂了

2.7.5 版本中dubbo.xsd中"metadata"标签改成了"metadata-type",但是在服务和引用初始化的实际metadata上传获取元数据服务类型还是用的“metadata”,所以导致metadata没法上传,提交的PR修复了这个bug,在application中设置metadata-type为remote可以是metadata上传生效,记得要同时配置metadata-report,类似下面的示例 PS:对于上楼说的方法,也可以兼容

这部分代码也是最近几天看的,PR还麻烦 @tswstarplanet @chickenlj 帮着检视

支持这种改法,注解 @Service 在使用过程中确实容易搞错,可以增加新的注解 @DubboService,不会产生歧义,@Service 仅作为老版本兼容使用

It seems similar to https://github.com/apache/dubbo/issues/5956, I will try to resolve this problem tomorrow.