1. AMQP:
AMQP 是用于高级消息队列协议的首字母缩写词。它是一种用于应用程序之间通信的协议。它是一种轻量级协议,支持数据传输应用程序。该协议用于技术的可扩展性和模块化。
2. HTTP :
HTTP 是用于超文本传输协议的首字母缩写词。它是一种用于客户端和服务器之间通信的协议。该协议负责从服务器端到客户端响应的响应。它是用于 Web 服务通信的基本协议。
AMQP 和 HTTP 的区别:
Parameter | AMQP | HTTP |
---|---|---|
Full Form | Advanced Message Queuing Protocol. | Hyper Text Markup Protocol. |
Developed by | It was developed by JPMorgan Chase. | It was developed by Tim Berners-Lee. |
Communication Nature | It has asynchronous communication nature. | It has synchronous communication nature. |
Usage | It is easy to setup and manage. | It is user centric and it can be used in every aspect. |
Message Delivery | It has guaranteed message delivery. | It has no guarantee for message delivery. |
Interface | It provides publish/subscribe interface. | It provides point to point interface. |
Fault Tolerance | AMQP protocol can bear the server broke issue on its own. | HTTP protocol is not capable to react to the server breakdown issue. |
Segmentation | It has the property of segmentation and can process messages into slots. | It does not has this capability to treat each message as segments. |
Protocol Characteristics | It is specific protocol used for specific purposes. | It is general purpose protocol and is used for multiple purposes. |
Advantages | It is fast, flexible and cost effective protocol. | It is well known, efficient and muti-purpose protocol. |