Tag

CommitLog

0 views collected around this technical thread.

Sanyou's Java Diary
Sanyou's Java Diary
Apr 3, 2023 · Backend Development

How RocketMQ’s Storage Model Powers Fast Message Retrieval

This article breaks down RocketMQ’s storage architecture, explaining how its commitlog, consumequeue, and index files work together to ensure reliable persistence, quick offset-based lookups, and efficient message consumption in a publish‑subscribe model.

CommitLogConsumeQueueIndexFile
0 likes · 9 min read
How RocketMQ’s Storage Model Powers Fast Message Retrieval
Architecture & Thinking
Architecture & Thinking
Nov 23, 2022 · Backend Development

How RocketMQ Stores Messages: Inside the Broker’s CommitLog, ConsumeQueue, and IndexFile

This article explains RocketMQ's broker storage architecture, detailing the roles of CommitLog, ConsumeQueue, and IndexFile, and describes how messages are formatted, indexed, and written to disk using memory‑mapped files to achieve high throughput and reliability.

CommitLogConsumeQueueIndexFile
0 likes · 8 min read
How RocketMQ Stores Messages: Inside the Broker’s CommitLog, ConsumeQueue, and IndexFile
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 3, 2021 · Backend Development

Understanding RocketMQ Storage Architecture: CommitLog, ConsumeQueue, and Index Files

This article explains the core storage design of RocketMQ, covering the CommitLog, ConsumeQueue, and Index files, their organization, sequential write strategy, memory‑mapped I/O, and flexible flushing policies that together provide high‑throughput, low‑latency messaging for backend systems.

BackendCommitLogConsumeQueue
0 likes · 11 min read
Understanding RocketMQ Storage Architecture: CommitLog, ConsumeQueue, and Index Files