dubbo
dubbo copied to clipboard
The java implementation of Apache Dubbo. An RPC and microservice framework.
## What is the purpose of the change ## Brief changelog ## Verifying this change ## Checklist - [x] Make sure there is a [GitHub_issue](https://github.com/apache/dubbo/issues) field for the change (usually...
## What is the purpose of the change Related issues : https://github.com/apache/dubbo/issues/9886, Related Documentation : https://qnac8r4ct8.feishu.cn/docx/doxcncmY1gYiRGX9ccX264W6JJd ## Brief changelog ## Verifying this change ## Checklist - [x] Make sure there...
`ReflectionBasedServiceDiscovery#doUnregister` recursion call and no break, looks like a bug. https://github.com/apache/dubbo/blob/c80b79174cd9f8621374728308b5cb87849d4caa/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ReflectionBasedServiceDiscovery.java#L187-L193
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 2.7.16 * Operating System version: windows 11...
### Environment * Dubbo version: 3.0.10 * Operating System version: win7 * Java version: 1.8 ### Steps to reproduce this issue ```java @SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class) @Slf4j @EnableJpaRepositories(basePackages = "com.xiushang") //用于扫描Dao...
- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.0.10/2.7.16 * Operating System version: Windows 10...
- [x ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.0.9 * Operating System version: Mac...
## What is the purpose of the change 原来为使用redis scan命令来扫描 /dubbo/com.xxx.yyy.XxxService/*的key 按照https://dubbo.apache.org/zh/docsv2.7/user/references/registry/redis/对redis注册中心的介绍 只有/dubbo/com.xxx.yyy.XxxService/providers 和/dubbo/com.xxx.yyy.XxxService/consumers 2种可能性。 在在使用ClusterRedisClient时,scan命令(参考:org.apache.dubbo.remoting.redis.jedis.ClusterRedisClient.scan)是迭代循环所有cluster node 来扫描每一个node,并合并扫描结果完成的,scan命令本来就很慢,使用ClusterRedisClient时会随着节点越多越慢 我的场景中有6个节点,每次需要5 ~ 20秒的扫描时间,每次启动时很慢且卡在初始化reference阶段;或者泛化每接口第一次调用或者硬编码每接口第一次调用时,都会构建Reference,构建reference时花费了很多时间 如果项目中service 接口很多时,有可能在启动或者重启后会导致worker线程阻塞而请求无法正常调用,目前在测试环境已经遇到了该现象,高并发请求时有可能引起雪奔,特别是存在dubbo http网关时的场景。 经过优化后,该场景在开发环境下从5 ~ 20秒性能提升至300~1000ms,提升5 ~ 20倍,基本上在300 ~...
多活场景下,dubbo 调用本地服务时,若本地的实例全部不可用,就需要通过 api 网关把请求转发到其它机房。 dubbo api网关要做以下几件事: 1、本地网关接收 dubbo 协议的调用请求,分析出调用的微服务名称(或接口名称)及参数等信息,之后 api网关按照请求信息找到位于其它机房的 api 网关,转发消息(应该需要转成HTTP 协议,还没深入考虑) 2、dubbo api 网关接收到其它api网关的请求,识别出请求的微服务名称,发送到该微服务的本地实例 ……
- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate. ### Environment * Dubbo version: 3.0.10 * Operating System version: MacOS...