`
kimmking
  • 浏览: 537017 次
  • 性别: Icon_minigender_1
  • 来自: 中华大丈夫学院
社区版块
存档分类
最新评论

ActiveMQ vs AMQP

阅读更多

http://activemq.apache.org/how-does-activemq-compare-to-amqp.html

 

 

AMQP(Advanced Message Queue Protocol)是一个消息client和broker交互的规范。是一个关于client到消息broker的wire-level协议通信的规范。不像ActiveMQ一样是一个消息系统,而仅仅是一个消息协议。

 

ActiveMQ的目标是最终会支持AMQP 1.0规范,以及其他开放的协议。

ActiveMQ已经支持的两种open wire 协议:

  • OpenWire, 一种非常快的二进制协议
  • Stomp, 一种简单方便的基于文本的协议

Through these protocols, ActiveMQ can support clients in C, C++, C#, Ruby, Python, Perl, PHP, Pike etc. AMQP is most similar to OpenWire, because both OpenWire and AMQP are designed for high performance messaging, through a binary (rather than text-based) format. As a text-based format, STOMP is much easier to implement, but gives somewhat slower performance.

 

通过这些协议,ActiveMQ可以支持各种环境下的client,比如C, C++, C#, Ruby, Python, Perl, PHP, Pike等等。

AMQP与OpenWire非常相似,因为他们都是被设计来通过二进制格式(比文本要高效),支持高性能的消息传递。

作为基于文本的格式,STOMP的实现非常简单,性能也比较低。

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics