RocketMQ 消息存储
文件结构
/{user.home}/store/.
+--commitlog
| +--00000000000000000000 (1GB)
| +--00000000001073741824 (1GB)
+--consumequeue
| +--topic_1 (topic name)
| | +--0 (queue id)
| | | +--00000000000000000000 (5.72MB=300000*20/1024/1024)
| | | +--00000000000006000000 (5.72MB)
| | +--1 (queue id)
| | +--00000000000000000000 (5.72MB)
| +--topic_2 (topic name)
| +--0 (queue id)
| +--00000000000000000000 (5.72MB)
+--index
+--19950815000000000 (1995-08-15 00:00:00.000, 400MB)
+--20201112080000000 (2020-11-12 08:00:00.000, 400MB)数据结构
存储架构
缓存页和内存映射
最后更新于