Discussion about this post

User's avatar
Emanuel Maceira's avatar

Solid technical breakdown. The MQTT vs CoAP choice is one of the most consequential decisions in IoT architecture, and you've mapped the tradeoffs well. I'd add one dimension that's increasingly critical: how Edge AI changes the protocol calculus entirely.

We're moving from the "Internet of Things" -- where devices just ship raw telemetry to the cloud -- to what I call the "Internet of Smart Things," AKA Edge AI. In this new paradigm, devices run inference locally and only transmit actionable insights upstream. That fundamentally changes the protocol requirements.

When a camera runs object detection at the edge instead of streaming video, your message payload drops from megabytes to bytes -- just metadata like "person detected, zone 3, confidence 0.94." At that point, CoAP's lightweight footprint becomes even more compelling for battery-constrained edge devices. The bandwidth paradox you describe (MQTT wins above 1 msg/min) shifts dramatically when Edge AI reduces message frequency by 100x because you're only sending events, not data.

The hybrid approach you mention (CoAP local, MQTT cloud) is exactly the right pattern for the Internet of Smart Things. Edge AI inference happens locally over CoAP, and only the distilled intelligence gets pushed to the cloud over MQTT. That's the architecture that scales to billions of smart devices without drowning in data.

No posts

Ready for more?