• 请不要在回答技术问题时复制粘贴 AI 生成的内容
aaronzheng
V2EX  ›  程序员

Publisher&Subscriber 发布者&订阅者模型

  •  
  •   aaronzheng · Aug 19, 2014 · 4197 views
    This topic created in 4290 days ago, the information mentioned may be changed or developed.


    发布者和订阅者模型是软件架构中的消息模式。

    第一种是1:n,一个发布者对应多个订阅者。例如汇率和RSS网站。

    第二种是n:1,多个发布者对应一个订阅者。例如收集状态,历史记录和数据。

    第三种是1:1,特定发布者对应特定订阅者。例如价格报价。

    第四种是n:n,多个发布者对应多个订阅者。例如微博的话题。

    而在中间的booker的实现方式有第三方应用

    目前在用的:IBM MQ, IBM WMB/IIB, Spring Integration PubSub channel

    市场上支持发布者和订阅者模式的:ZeroMQ, ActiveMQ, RabbitMQ, XMPP, Apache Camel Channel, Redis PubSub

    市场上最新的:IBM MessageSight, Eclipse Paho, Apache Kafka

    来源于清新小博客。。。http://www.sightcorner.com/technique/2014_08_17
    随便测试下贴图。T_T
    1 replies    2014-08-19 10:14:56 +08:00
    ipconfiger
        1
    ipconfiger  
       Aug 19, 2014
    LZ还在玩孢子?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4346 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 72ms · UTC 05:30 · PVG 13:30 · LAX 22:30 · JFK 01:30
    ♥ Do have faith in what you're doing.