Skip to content

Commit

Permalink
for #3666 for example docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tianliuliu committed Jan 13, 2022
1 parent 3513c4d commit f4dc125
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/cn/Example_LMQ.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Light message queue (LMQ)
LMQ采用的读放大的策略,写一份数据,多个LMQ队列分发,
因为存储的成本和效率对用户的体感最明显。写多份不仅加大了存储成本,同时也对性能和数据准确一致性提出了挑战。

![](image/LMQ_1.png)

上图描述的是LMQ的队列存储模型,消息可以来自各个接入场景
(如服务端的MQ/AMQP,客户端的MQTT),但只会写一份存到commitlog里面,然后分发出多个需求场景的队列索引(ConsumerQueue),如服务端场景(MQ/AMQP)可以按照一级Topic队列进行传统的服务端消费,客户端MQTT场景可以按照MQTT多级Topic(也即 LMQ)进行消费消息。

## 一、broker启动配置

Expand Down
Binary file added docs/cn/image/LMQ_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f4dc125

Please sign in to comment.