networking - Why MQTT is called as "light weight" messaging protocol? -
mqtt machine-to-machine (m2m)/"internet of things" connectivity protocol. designed extremely lightweight publish/subscribe messaging transport.
in comparison other tcp/ip or socket based protocols, makes mqtt "extremely light-weighted"?
the protocol overhead of mqtt extremely small, smallest packet has 2 bytes overhead. payload-to-overhead ratio typically extremely good. it's binary protocol reduces overhead on wire lot.
an older blog post lightweightness can found here: http://stephendnicholas.com/archives/1217
if interested in protocol details, check out extensive blog post series: http://www.hivemq.com/mqtt-essentials-wrap-up/
Comments
Post a Comment