Mqtt, Coap.
overhead but less reliability. The MQTT protocol uses a flexible header with a minimal size of 2 bytes, while CoAP uses a fixed-size header of 4 bytes. MQTT is highly scalable and performs well in high-traffic environments but may consume more resources, whereas CoAP, being lighter, is more