You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/adv_coding/middleware/topic_design.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,23 +10,29 @@ sidebar_position: 1
10
10
11
11
## `Topic` 解决什么问题
12
12
13
-
`Topic` 的目标不是做一个“什么都能承载”的消息总线,而是在尽量轻的前提下,把同一进程内最常见的几种数据交接方式统一起来:发布者写入,订阅者按自己的方式接收,必要时缓存最近一份数据,必要时再做多发布者保护。它没有引入 Linux 共享内存、进程间同步或复杂的持久队列语义,就是因为这些需求已经超出了这条轻量路径的边界。
13
+
`Topic` 的目标不是做一个“什么都能承载”的消息总线,而是在尽量轻的前提下,把同一进程内最常见的几种数据交接方式统一起来:发布者写入,订阅者按自己的方式接收,必要时再做多发布者保护。它没有引入 Linux 共享内存、进程间同步或复杂的持久队列语义,就是因为这些需求已经超出了这条轻量路径的边界。
0 commit comments