RongtongJin commented on code in PR #8739:
URL: https://github.com/apache/rocketmq/pull/8739#discussion_r1772874364
##########
store/src/main/java/org/apache/rocketmq/store/queue/RocksDBConsumeQueueStore.java:
##########
@@ -55,7 +55,7 @@ public class RocksDBConsumeQueueStore extends
AbstractConsumeQueueStore {
public static final byte CTRL_1 = '\u0001';
public static final byte CTRL_2 = '\u0002';
- private static final int BATCH_SIZE = 16;
+ private static final int BATCH_SIZE = 1;
Review Comment:
可以考虑的小建议:可以通过当前DispatchRequest中commitLogOffset与commitLogMaxOffset来估算是否有剩余需要dispatch的,如果有则攒批加速(但赞批要有一个保底时间),否则及时分发。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]