Site icon Bizety: Research & Consulting

Akamai Beta Testing MQTT for IoT Connect

Akamai’s IoT Edge Connect is Beta Testing MQTT

Akamai is beta testing MQTT for IoT Edge Connect, imagining “a hyperconnected world [that] makes every aspect of our lives better”.

IoT Edge Connect provides the worldwide messaging network and storage infrastructure that manages and secures IoT device connection and data storage. IoT Edge Connect is constructed to optimize the transmission and gathering of data to reduce storage needs and offer real-time access to data. It does this through “the complete implementation of the MQTT protocol”.

Traditional modes of CDN protection are not sufficient for next-gen IoT delivery, hence Akamai beta testing MQTT for IoT Connect. In the words of developer Alif Abdullah in a recent Medium post, “MQTT is one of the most widely used lightweight protocol to carry minimal data overhead. It’s a hot cake for the developers who are specially working with Internet of Things (IoT)”.

What is MQTT?

The MQTT.org describes it as “a machine-to-machine (M2M)/IoT connectivity protocol”. MQTT stands for MQ Telemetry Transport.

Its Original Goals and Uses

MQTT was invented in 1999 by Dr. Andy Stanford-Clark of IBM and Arlen Nipper of Arcom (now Eurotech) as a publish/subscribe, highly simple and lightweight messaging transport. Stanford-Clark and Nipper built MQTT for use within low-bandwidth, high latency and unreliable networks. Their design goals were straightforward: “to ensure reliability and some degree of assurance of delivery” within these kinds of more challenging environments. Their initial primary focus was to connect oil pipeline telemetry systems over satellite.

The MQTT protocol is lightweight, open, simple, and built to be easy to implement. It is therefore particularly suitable for connections in remote locations in which a small code footprint is required and/or network bandwidth is a challenge.

OASIS Standard

The protocol specification started its life as a live proprietary protocol. It was released royalty free in 2010. Various companies, including Eurotech (then Arcom) implemented the technology into their products.

In 2014, MQTT v.3.1 became an open source OASIS standard.

Two Versions

MQTT Key Characteristics

Publish/Subscribe
Central Broker
Topic
Messages
QoS: Three Levels

The higher the QoS level, the more message overhead there is.

MQTT Packet

Why MQTT for IoT?

MQTT is quickly becoming one of the main protocols for IoT deployments. There are many different types of connectivity protocols around the world; some like HTTP are used by millions of application. Why not one of the more widely used protocols for IoT? Why MQTT for IoT?

As the IoT has become an emerging part of the technological present and future, MQTT has emerged as a powerful contender as a highly suitable protocol for the M2M world of connected devices, hence Akamai beta testing it for use with its IoT Edge Connect network.

In the optimal IoT world, anything that can be connected will become connected in a smart home e.g. when you wake off an alarm on your smartphone, it will tell your air conditioning to turn on, your coffee maker to begin making coffee, your news show to switch on your smart TV…

MQTT was designed from the beginning for machine-to-machine telemetry; and most importantly it is a lightweight protocol with a very small code footprint, which doesn’t require a high bandwidth. The IoT needs these simple specifications in order to work at the level of the future smart home or smart city.

MQTT and Mobile Use

The lightweight messaging transport is also suitable for mobile applications due to its small size, minimal use of power, reduced size data packets, and efficient distribution of information to one or many receivers. It provides mobile users with low-latency and low power usage messaging over unreliable networks and offers a secure request-response protocol.

A couple of years ago, we wrote about a test run on Android devices to determine the different efficiency levels of HTTPS and MQTT in relation to mobile, which had interesting results. MQTT surpassed HTTPS – by an order of magnitude with certain components of the test over both WiFi and 3G. It also used less battery energy and received all messages sent in comparison to HTTPS, which received a significantly smaller number over 3G and WiFi. Overall, “power consumption was less and messages were received more reliably with the MQTT connection”.

MQTT and Node.js

The MQTT protocol can also be used by developers in Node.js. This has been made simpler recently due to the MQTT API provided by npm. For a thorough demonstration of a basic MQTT establishment in the Node.js program, see the Medium post by Alif Abdullah.

Notable Initial Use Cases of MQTT

MQTT has been widely used in a range of industries since 1999. The MQTT.org Projects page highlights some particularly interesting projects that have made use of MQTT and related technologies, including:

Does MQTT Support Security?

Security is a key topic for Akamai in relation to every aspect of its platform; no less so for the IoT. IoT Edge Connect uses mutual authentication and access to the network is managed through access control technology. It’s imperative for Akamai that MQTT can successfully support security, which it can. A user name and password with an MQTT packet in V3.1 (the latest version) of the protocol can be passed. Encryption across the network can also be also handled – via SSL, independently of the MQTT protocol. Further security can also be added by an application encrypting data that it sends and receives; however, this is not built-in to the protocol because of the design goal of simplicity.

Copyright secured by Digiprove © 2018
Exit mobile version