You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by nowinkey <no...@tom.com> on 2022/11/07 06:00:32 UTC

[DISCUSS] [RIP-57 Optimize Building CommitLog]

Hi, RocketMQ Community

Writing a message to the CommitLog file is a serial process (because a lock needs to be acquired before writing). When message production traffic is high, messages are written to CommitLog files too slowly, causing delays in ReputMessageService building ConsumeQueue, causing severe commit log scheduling delay warnings, and further delaying consumer consumption of messages.

We need to optimize the write process to be lock-free and write commitLog concurrently.

You can see more details in the documentation below
English version <https://yu7y22ce7k.feishu.cn/docx/doxcnkq0FHNr6yJng7LZp76Eo9g>
Chinese version   <https://yu7y22ce7k.feishu.cn/docx/doxcnRF7e3vdg7A6wWlKBxOxIs5>

Please reply to this email if you have any questions
Best Regards


nowinkey