Setting up MQTT with Ruby on Rails
23-Mar-2020 1757
MQTT is a Client-Server publish, subscribe messaging transport protocol. It is lightweight, open, simple, and designed to be easy to implement. These qualities make it ideal for use in many spots, including constrained environments such as for communication in Machine to Machine (M2M) and Internet of Things (IoT) world of connected devices, and for mobile applications where bandwidth and battery power are at a premium.Why the adoption of MQTT ?Well, as opposed to HTTP it is an extremely light-weight protocol. HTTP is stateless and thus a new connection needs to be established for every request (communication overhead). MQTT is based on data streams that stay connected once they are established (minimal overhead). This makes MQTT faster for sending data very frequently as is common for IoT use cases.
Setting up MQTT with Ruby on Rails #ruby #rubydeveloper #rubyonrails #Setting #Rails https://rubyonrails.ba/link/setting-up-mqtt-with-ruby-on-rails