MQTT and Node.js Messaging the Internet of Things
summary
MQTT is a tiny binary pub/sub protocol with three QoS levels and an offline persistent session that uses a client id and clean flag so missed messages arrive on reconnect. The Node ecosystem shows mqtt.js on npm, a browser build via WebSockets and browserify, and an embeddable Mosca broker backed by LevelDB through levelup. A benchmark opens 5,000 connections to a broker and measures latencies roughly 3–350 ms with Node implementations competitive versus C++ mosquitto. A live demo toggles an LED via Twitter and iMessage and mentions Pony and CoAP bridges.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 1:40How do we call it
- 1:58Battery
- 3:10MQTT
- 3:39What is MQTT
- 4:08MQTT features
- 4:59MQTT code
- 5:18Instant gratification
- 5:40Mosquito
- 6:25Why MQTT
- 6:55MQTT Broker
- 8:04Latency
- 8:35Offline Mode
- 10:18Publish
- 11:21Conclusion
- 12:33Future projects
- 13:20Demonstration
related talks
30mInternet of Things (IoT) with Node: Both Practical and Fun!
55mMQTT Protocol on Intel IoT Architecture
53mIoT - Secure MQTT/HTTP Apis using Node-Red - workshop 1hr
48mIoT with Raspberry Pi, mosquitto, node js and No PowerPoint
28mHow to make your LEDs better listeners
31mThin Client NodeBots and the future of JS in IoT
42mMQTT over QUIC: Opportunities and Challenges
40mSocket to me
