LvChenhui commented on issue #1372: transientStorePoolEnable开启后rt变高
URL: https://github.com/apache/rocketmq/issues/1372#issuecomment-522392881
 
 
   > 简单点描述,开启TransientStorePool后,master写入变成 先写堆外内存 ,然后批量commit到 
FileChannel写入,而主从同步判断能同步到的消息是已经commit到FileChannel的消息,而消息由堆外内存commit到PageCache是有一定频率的,是受commitIntervalCommitLog,commitCommitLogThoroughInterval两个参数影响,默认值是200ms,所以你能看到消息大体都落在100ms-200ms之间。
   
   
懂了,那么将commitIntervalCommitLog,commitCommitLogThoroughInterval调小,频繁的调教到FileChannel是否对系统产生其他影响

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to