You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2018/03/28 06:47:28 UTC

[GitHub] gaoyf commented on issue #249: master-slave sync model performance improve

gaoyf commented on issue #249: master-slave sync model performance improve
URL: https://github.com/apache/rocketmq/issues/249#issuecomment-376779981
 
 
   我理解的 `SYNC_MASTER` 是同步双写,即,**消息同步写给slave才算成功,消息发送方需要根据返回状态决定消息是否重发**。
   而你 @iamzhoug37 所说的改进,只是主发送线程不再等待同步消息给slave的状态,这样消息发送方就不知道是否同步成功了。
   如果你不在乎是否同步给slave,只在乎是否写入本地硬盘,应该用`flushDiskType=SYNC_FLUSH brokerRole=ASYNC_MASTER`模式。
   这个存储层高可用我已经进行过分析了,参考我的分析:https://blog.csdn.net/a417930422/article/details/52585204
   另外咨询你一下,你的日志解析的图使用什么工具?多谢

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services