RocketMQ 源码解析与优化(上)
Module-by-module reading notes on the RocketMQ core: name server, storage, message flow and the paths worth optimising.
Two project volumes that read the code with you, plus three published RocketMQ books the community keeps coming back to.
Publication details follow the publishers' own records. Project volumes are online documents, not print books.
Written alongside the rewrite and kept in the repository.
Module-by-module reading notes on the RocketMQ core: name server, storage, message flow and the paths worth optimising.
How the analysis turns into a rewrite: boundaries, sharding and the trade-offs behind Clean-RocketMQ.
Independent authors' work on RocketMQ, chosen for different reading goals.
Ding Wei, Zhang Deng, Zhou Jifeng
China Machine Press · 2021
Walks through RocketMQ internals module by module: name service, storage, replication and the communication layer.
Yang Kaiyuan
China Machine Press · 2018
First half covers production setup, high availability and Spring Boot integration; second half reads the source behind name service, replication and Netty communication.
Ding Wei, Liang Yong
Posts & Telecom Press · 2022
Engineering-oriented: sending and consuming, Spring integration, cluster deployment, monitoring and typical failure cases.
Get the model first
Start with a practice-oriented book if you have not run a cluster yet.
Then read the internals
Move to the internals book once the message flow feels familiar.
Finally follow the rewrite
Use the project volumes to see where this project diverges, and why.