Skip to content

Commit 679622b

Browse files
authored
Update ZeroMQ基础.md
1 parent ee3e057 commit 679622b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

studynotes/ZeroMQ基础.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,7 @@
8484
while True:
8585
message = socket.recv_string()
8686
print("(订阅者一号)接收到'发布者'发送的消息:{}".format(message))
87+
## 1.3. Push-Pull(平行管道模式/分布式处理)
88+
* Ventilator: 任务发布器会生成大量可以并行运算的任务
89+
* Worker: 有一组worker会处理这些任务
90+
* Sink: 结果接收器会在末端接收所有Worker的处理结果,进行汇总

0 commit comments

Comments
 (0)