| MQTT/TCP |
Guaranteed delivery, QoS levels (0,1,2), Pub/sub scalability, Last Will Testament |
Connection overhead, Keep-alive drains battery, Head-of-line blocking, Requires more RAM |
Cloud-connected telemetry, Many devices to one broker, Mains-powered gateways |
Coin cell batteries, Constrained MCUs (<32KB RAM), Extreme low-power needs |
| CoAP/UDP |
Minimal overhead (4 bytes), Connectionless (no keep-alive), Multicast support, RESTful (familiar API) |
UDP unreliable by default, CON messages need app-layer retry, Less mature tooling than MQTT, Broker support limited |
Battery sensors (years), Local device control, Constrained networks (802.15.4), Request-response patterns |
Continuous data streams, Complex pub-sub, When TCP reliability is free (mains power) |
| HTTP/TCP |
Universal compatibility, Vast tooling/libraries, Web integration easy, Human-readable |
Huge overhead (200+ byte headers), Connection setup expensive, Not designed for IoT, Wasteful for tiny messages |
Gateways with resources, Web API integration, Development/debugging, Infrequent large transfers |
Tiny sensors, Battery-powered devices, Frequent small messages, Constrained networks |
| LoRaWAN |
Extreme range (10-15km), Ultra-low power (10 years battery), Sub-GHz penetration, License-free bands |
Very low data rate (0.3-50 kbps), Duty cycle limits (1-10%), Gateway infrastructure needed, High latency (seconds) |
Rural deployments, Infrequent updates, Wide-area coverage, Extreme battery life |
Real-time control, High-frequency data, Large payloads (>242 bytes), Indoor-only |
| BLE (Bluetooth Low Energy) |
Ultra-low power (sleep uA), Universal phone support, Good for wearables, Mature ecosystem |
Short range (10-30m), Smartphone dependency, Limited concurrent connections, Gateway needed for internet |
Wearables & health devices, Beacon applications, Phone-controlled devices, Personal area networks |
Long-range deployments, Continuous streaming, Many simultaneous devices, Non-phone systems |
| Zigbee/Thread (802.15.4) |
Mesh self-healing, Good battery life (1-5 years), Low latency, Standards-based |
Hub/border router required, Limited range per hop (10-100m), Mesh complexity, 2.4GHz congestion |
Smart home devices, Building automation, Industrial sensing, Mesh networks |
Long-range outdoor, Single-hop simple systems, When Wi-Fi already deployed, Mobile applications |
| NB-IoT/LTE-M (Cellular) |
Global coverage, No gateway needed, Carrier-managed, Secure |
Subscription costs, Higher power than LoRa, Complex certification, Module cost |
Asset tracking (mobile), Remote monitoring, When coverage > cost, Global deployments |
Cost-sensitive projects, Dense urban (LoRa better), Ultra-low-power needs, No budget for subscriptions |