apache / apache/dubbo

dubbo同步调用很慢

Open
#9,411 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

- [ ] 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
现在有两个服务A和B分别用docker启动注册到nacos上,A消费队列里的数据然后调用B服务处理,现在的队列消费速度如下:
![image](https://user-images.githubusercontent.com/8602660/146131546-6047c87e-5c6f-4bfc-a0ba-ac487effe275.png)
如果A不调用B,则消费速度能达到和生产速度接近,服务B目前已经注释掉了所有的处理逻辑,因此可以排除业务逻辑影响,dubbo的版本是2.7.8,调用方式为同步调用,线程数配置了500,服务器资源为8核32G,运行时服务器资源充足,dubbo服务调用很慢会是什么问题

Contributor guide

Open the contributing guide

Research direction

No source files or tests are named. Reproduce the Docker-based A/B services with Nacos, Dubbo 2.7.8, synchronous calls, and the reported 500-thread configuration while comparing queue throughput with and without the B call. Done means isolating the cause of the slow invocation and documenting evidence for the fix or configuration change.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, java
Domain
backend-api-design, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.