Advantages of AMQP protocol | disadvantages of AMQP protocol
This page covers advantages and disadvantages of AMQP protocol used in IoT (Internet of Things). It mentions benefits or advantages of AMQP protocol and drawbacks or disadvantages of AMQP protocol.
What is AMQP protocol?
Introduction:
AMQP is the short form of Advanced Message Queuing Protocol which runs over TCP layer.
This session layer protocol is based on publish/subscribe architecture similar to
MQTT protocol.
AMQP does asynchronous transfer of messages regardless of OS, hardware ot programming language. It is advanced optimized on wire of data framing which has buffering approach that increases performances of server. It provides secured connection to users using TLS and SASL.
The figure depicts architecture of AMQP. As shown AMQP broker consists of exchange and queues. Publishers deliver messages with specific routing keys to the exchange. Exchange uses these keys to route messages to appropriate queues. Messages are stored in the queues until they are delivered to or read by subscribers. Binding define rules to bind exchange to queue.
There are three different types of exchange methods viz. direct exchange, fanout exchange and topic exchange. Refer AMQP architecture and difference between AMQP vs JMS for more information.
Benefits or advantages of AMQP protocol
Following are the benefits or advantages of AMQP protocol:
➨It uses QoS and hence ensures safe passage of important data.
➨AMQP uses already established publish/subscribe architecture for data sharing as used by MQTT protocol.
➨It ensures interoperability as it uses wire level protocol which sends data as stream of bytes.
➨It offers simpler peer to peer communication along with intermediaries.
➨The protocol has space to evolve to work with different standards.
➨It offers secured connection to users using SSL protocol like CoAP, MQTT, HTTP and XMPP.
Drawbacks or disadvantages of AMQP protocol
Following are the drawbacks or disadvantages of AMQP protocol:
➨It is not backward compatible with old versions.
➨It is not as simple as HTTP 1.0 or HTTP 1.1 or any other wire protocols.
➨It requires higher bandwidth unlike MQTT/CoAP/XMPP.
➨Resource discovery is not supported unlike CoAP/HTTP/XMPP.
Advantages and Disadvantages of other Sensor Types
AMQP and MQTT Related Links
AMQP vs JMS
MQTT protocol basics
MQTT vs HTTP
MQTT vs REST
What is difference between
MQTT vs HTTP Difference between OSI and TCPIP layers Difference between TCP UDP FTP vs HTTP FTP vs SMTP FTP vs TFTP ARP vs RARP NAT vs PAT RIP vs OSPF SLIP vs PPP IMAP4 vs POP3 IPV4 vs IPV6
IoT Wireless Technologies
➤WLAN
➤THREAD
➤EnOcean
➤LoRa
➤SIGFOX
➤WHDI
➤Zigbee
➤6LoWPAN
➤Zigbee RF4CE
➤Z-Wave
➤NFC
➤RFID
➤INSTEON