RabbitMQ中幾種模式

RabbitMQ中,所有生產者提交的消息都由Exchange來接受,然後Exchange按照特定的策略轉發到Queue進行存儲 RabbitMQ提供了四種Exchange:fanout,direct,topic,header header模式在實際使用中較少,本文只對前三種模式進行比較。   性能排序:fanout > direct >> topic。比例大約爲11:10:6   一.Direct
相關文章
相關標籤/搜索