且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

RabbitMQ 与 Mule 相比如何

更新时间:2023-02-27 13:11:34

Mule 是一个 ESB(企业服务总线).RabbitMQ 是一个消息代理.

Mule is an ESB (Enterprise Service Bus). RabbitMQ is a message broker.

ESB 在消息代理之上提供附加层,例如路由、转换和业务流程管理.它是应用程序之间的中介,集成了 Web 服务、REST 端点、数据库连接、电子邮件和 ftp 服务器——你可以说它.它是一个高级集成主干,可在使用不同协议的应用程序网络中协调互操作性.

An ESB provides added layers atop of a message broker such as routing, transformations and business process management. It is a mediator between applications, integrating Web Services, REST endpoints, database connections, email and ftp servers - you name it. It is a high-level integration backbone which orchestrates interoperability within a network of applications that speak different protocols.

消息代理是一个较低级别的组件,它使您作为开发人员能够在发布者和订阅者之间中继原始消息,通常在同一系统的组件之间但并非总是如此.它用于启用异步处理以保持较低的响应时间.有些任务需要更长的时间来处理,如果它们对时间不敏感,你不希望它们拖延.相反,将消息发布到队列(作为发布者)并让订阅者稍后"接收并处理它.

A message broker is a lower level component which enables you as a developer to relay raw messages between publishers and subscribers, typically between components of the same system but not always. It is used to enable asynchronous processing to keep response times low. Some tasks take longer to process and you don't want them to hold things up if they're not time-sensitive. Instead, post a message to a queue (as a publisher) and have a subscriber pick it up and process it "later".