apache / apache/rocketmq

[Enhancement] rocketmq 单节点发送消息tps只能到1万多

Open
#9,829 7 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Java
Stars
22.6k
Forks
12k
Avg merge
3d 1h
Merged PRs (30d)
27

Description

### Before Creating the Enhancement Request

- [x] I have confirmed that this should be classified as an enhancement rather than a bug/feature.

### Summary

使用rocketmq官方的benchmak producer.sh脚本测试rocketmq发送性能,用的rocketmq 5.3.3版本
部署了1个broker节点,
验证脚本如下:./producer.sh -t cluster-perf-tst8 -w 20 -s 1024 -n rocketmq2-nameserver.rocketmq:9876
性能表现比较差,发送消息tps只能到1万多,broker给的堆内存为8G,异步落盘,使用的也是ssd硬盘,不知道为什么性能这么差

### Motivation

broker性能比较差

### Describe the Solution You'd Like

不知哪里配置不够,但是性能着实比较差

### Describe Alternatives You've Considered

希望提升rocketmq tps性能

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the benchmark with the stated RocketMQ 5.3.3 setup and the producer.sh command, then inspect the single-broker configuration and runtime conditions described in the issue. Done means identifying the cause of the roughly 10,000 TPS result and providing a validated performance improvement or a documented configuration limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, shell
Domain
distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.