📜  AMQP和HTTP协议之间的区别

📅  最后修改于: 2021-08-27 04:40:05             🧑  作者: Mango

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.