wuqiu

Results 5 issues of wuqiu

### Question 随着元数据的数据量越来越大,http转发需要遍历所有的元数据和正则匹配相关,造成性能开销大。 元数据只有一条的压测情况: ![1](https://user-images.githubusercontent.com/4514718/161368664-acde2d94-2360-4e4e-9c63-63d8805599ba.png) 元数据差不多1000条压测情况: ![2](https://user-images.githubusercontent.com/4514718/161368674-6975cf02-7fb9-4343-9768-03d3a2738cd3.png) 压测的火焰图: ![3](https://user-images.githubusercontent.com/4514718/161368687-95192f62-8aa2-404e-8378-a339a6ce2d3c.png) 查看代码发现http转发的请求都需要走到这个元数据遍历,如果元数据越来约定,性能开销会越来越大,目前这个代码是soul 2.2.4,看了新版本也有一样的问题!!! ```java public MetaData obtain(final String path) { MetaData metaData = META_DATA_MAP.get(path); if (Objects.isNull(metaData)) { String key = META_DATA_MAP.keySet().stream().filter(k ->...

type: question

- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ## Ask your question here dubbo版本:2.7.15 网关dubbo协议转换发现泛化调用偶现超时,最终原因是排查到一个提供方的服务由于网络问题未打通,导致一直调用超时失败,但是影响了整体的其他api调用,请问是啥原因? 报错数量是差不多每天调用1000w次请求,差不多会出现1w次超时,确实很奇怪为啥这个会有影响?? 以下是调用那个问题提供方的报错信息: ```less org.apache.dubbo.rpc.RpcException: Failed...

…对 Nacos内部类和插件的依赖 - 使用 Apache HttpClient 替代 Nacos RestTemplate 发起 HTTP 请求 - 优化了 token 获取逻辑,提高了代码可读性和可维护性 **What type of PR is this?** Feature/Bug/Refactor etc. **What this PR does / why...