V2EX  ›  英汉词典

Publish-Subscribe

Definition 定义

publish-subscribe(发布-订阅,常写作 pub/sub):一种消息通信/软件架构模式。发布者(publisher)把消息发布到某个“主题/频道(topic/channel)”,订阅者(subscriber)订阅感兴趣的主题后接收消息。发布者与订阅者彼此不必直接知道对方,实现解耦异步传播

Pronunciation 发音

/ˈpʌblɪʃ ˈsʌbskraɪb/

Examples 例句

We use a publish-subscribe system to send notifications to users.
我们使用发布-订阅系统向用户发送通知。

In a publish-subscribe architecture, producers publish events to topics while multiple services subscribe and react independently, which improves scalability and decouples components.
在发布-订阅架构中,生产者把事件发布到主题上,多个服务各自订阅并独立响应,从而提升可扩展性并让组件解耦。

Etymology 词源

该术语由两个常见动词组合而成:publish(“发布、公布”)+ subscribe(“订阅、登记接收”)。在计算机与通信领域中,它被借用来描述“把消息发布到公共通道、由订阅者按需接收”的机制,强调发布者与接收者的分离。

Related Words 相关词

Literary Works 文学作品

  • Designing Data-Intensive Applications(Martin Kleppmann)
  • Enterprise Integration Patterns(Gregor Hohpe, Bobby Woolf)
  • Kafka: The Definitive Guide(Neha Narkhede 等)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   853 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 21:34 · PVG 05:34 · LAX 13:34 · JFK 16:34
♥ Do have faith in what you're doing.