Skip to content

POP消费的性能 #6360

Answered by RongtongJin
zhengw0426 asked this question in Q&A
Discussion options

You must be logged in to vote

压测是否开启了enablePopBufferMerge ,开启该参数可以使得broker中Buffer Merge的策略生效,ck和ack尽量在内存中抵消。
理论上,相同consumer数量下,POP性能可能要略低于PULL,POP消费链路更加复杂,内存中无法merge还会走落盘的消息链路。Pull只是单纯的拉队列中的消息而已。但POP负载均衡是消息粒度而非队列粒度,POP消费其实可以无限扩展消费端增加消费能力。

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by odbozhou
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants