networking - Why MQTT is called as "light weight" messaging protocol? -


as per wikipedia , mqtt.org,

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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -