An Iot Oriented Comparison
REST and MQTT An IoT oriented comparison Credits: Prof.Pietro Manzoni, University of Valencia, Spain REST vs MQTT 1 IoT Protocols HTTP, CoAP, REST, MQTT, AMQP, XMPP, DDS TCP, UDP IPv4, IPv6, 6LoWPAN Cellular: LR-WPAN: 2G (GSM, GPRS), Ethernet WiFi Bluetooth, ZigBee, 3G (HSPDA,…), IEEE 802.15.x 4G (LTE), REST vs MQTT 2 Network layer protocols ¡ The network (or OSI Layer 3 abstraction) provides an abstraction of the physical world. ¡ Communication protocols £ Most of the IP-based communications are based on the IPv4 (and often via gateway middleware solutions) £ However, IP overhead makes it inefficient for embedded devices with low bit rate and constrained power. ¢ IPv6 is increasingly being introduced for embedded devices è 6LowPAN (IPv6 over Low power Wireless Personal Area Networks) REST vs MQTT 3 IoT standards: OASIS ü OASIS is a nonprofit consortium that drives the development, convergence and adoption of open standards for the global information society. ü OASIS promotes industry consensus and produces worldwide standards for security, Internet of Things, cloud computing, energy, content technologies, emergency management, and other areas. REST vs MQTT 4 IoT standards: open-source implementations ¡ While Open Standards are key, it is also important to make available open-source implementations of such standards, to encourage adoption of such standards both by IoT developers and the IoT industry at large. ¡ http://iot.eclipse.org/ £ Eclipse IoT is an ecosystem of companies and individuals that are working together to establish an Internet of Things based on open technologies. REST vs MQTT 5 “Message based” communications ¡Data bundles (i.e., messages) interchange is becoming everyday more common £E.g., Twitter, Whatsapp, Instagram, Snapchat, Facebook,..
[Show full text]