I have a question about ZeroMQ PUB/SUB
. Does the publisher create a separate queue for each individual subscriber or is there one queue for all subscribers (and hence limited by the slowest subscriber)?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Each connected subscriber gets its own queue. When a subscriber is slow, its own queue will fill up and then overflow (high water mark is by default 1,000), and its messages will get dropped. This won't affect other subscribers.