Alternate protocols for IoT
IoT devices are constrained in terms of computing and memory resources, and Particle devices are no exception. The REST architecture has been used extensively on the web for communication between clients and servers. Using the same architecture for IoT or resource-constrained devices is not very optimal. It leads to packet losses or memory being full, which result in unwanted behavior. The REST implementation is also process intensive for the IoT devices, thereby putting a heavy load on these tiny devices.
To overcome these issues, new protocols and architecture have been designed. We will be presenting briefly some of these new protocols, which are better suited for IoT.
MQTT
The first protocol we look at is called MQ Telemetry Transport (MQTT) (http://www.mqtt.org). Historically, the "MQ" in MQTT came from IBM's MQ Series message queuing (https://en.wikipedia.org/wiki/Message_queuing) product line.
MQTT is a publish-subscribe-based (https://en.wikipedia.org/wiki...