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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -