1. Constrained Application Protocol (COAP) :
The constrained application protocol is a client server-based protocol. With this protocol, the COAP packet can be shared between different client nodes which is commanded by the COAP server. The server is responsible to share the information depending upon its logic but has not to acknowledge. This is used with the applications which supports state transfer model.
2. Message Query Telemetry Transport (MQTT) :
The message query telemetry transport protocol is a communication-based protocol which is used for IoT devices. This protocol is based on the publish-subscribe methodology in which clients receive the information through a broker only to the subscribed topic. Broker is a mediator which categorizes messages into labels before being delivered.
Difference between COAP and MQTT protocols :
|Abbrevation||Constrained Application Protocol||Message Query Telemetry Transport|
|Communication Type||It uses Request-Response model.||It uses Publish-Subscribe model|
|Messaging Mode||This uses both Asynchronous and Synchronous.||This uses only Asynchronous|
|Transport layer protocol||This mainly uses User Datagram protocol(UDP)||This mainly uses Transmission Control protocol(TCP)|
|Header size||It has 4 bytes sized header||It has 2 bytes sized header|
|RESTful based||Yes it uses REST principles||No it does not uses REST principles|
|Persistence support||It does not has such support||It supports and best used for live data communication|
|Message Labelling||It provides by adding labels to the messages.||It has no such feature.|
|Usability/Security||It is used in Utility area networks and has secured mechanism.||It is used in IoT applications and is secure|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Difference between MQTT and HTTP protocols
- Fundamental Features of MQTT
- Introduction of Message Queue Telemetry Transport Protocol (MQTT)
- Fundamental Features of MQTT | Set 2
- Fundamental Features of MQTT | Set 3
- Fundamental Features of MQTT | Set 4
- Difference between AMQP and HTTP protocols
- Difference between Routable and Non-routable Protocols
- Types of Virtual Private Network (VPN) and its Protocols
- Trust Based Energy-Efficient and Secure Routing Protocols for IoT
- Critique of OSI Model and Protocols
- Network Protocols and Communications
- Protocols in Application Layer
- Routing v/s Routed Protocols in Computer Network
- Sliding Window protocols Summary With Questions
- Controlled Access Protocols in Computer Network
- Multiple Access Protocols in Computer Network
- Classes of Routing Protocols
- Securing Routing Protocols
- Collision-Free Protocols in Computer Network
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.