How do I compare MQTT and TCP packets

0 votes

I have run some traffic from one server to another. In the first scenario, the packets were sent through TCP protocol. In the another scenario, the packets were sent through MQTT protocol (which also runs over TCP). Through the MQTT exchange scenario, the packets sent from server1 to server2 are 3 times more than the packets sent from servier1 to server2 when I used just the TCP.

Aug 27, 2018 in IoT (Internet of Things) by Matt
• 2,270 points
1,237 views

1 answer to this question.

0 votes

It depends on the higher-level protocols (above TCP). The MQTT protocol sends PUBACK for QOS 1, so would double the number of packets from just a send of the payload. Your protocol is secret, so we cannot comment on it. A Wireshark PCAP would allow you to diagnose the imbalance.

answered Aug 27, 2018 by anonymous2
• 4,280 points

Related Questions In IoT (Internet of Things)

0 votes
0 answers

How do I get updated temperature sensor readings with CoAPthon?

Hi guys, I'm new to IOT and I'm ...READ MORE

Nov 11, 2019 in IoT (Internet of Things) by RiceMan
• 120 points
1,204 views
0 votes
1 answer

How to connect Raspberry Pi and lighting the LED?

You might want to try instead to ...READ MORE

answered Jul 23, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
650 views
0 votes
1 answer

How to use the data I receive from Azure IoT Hub?

The payload you receive will be a ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,794 views
0 votes
1 answer

MQTT connection consumes less power

HTTP(S) doesn't keep a connection open - ...READ MORE

answered Jul 24, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
794 views
0 votes
1 answer

Need to enclose MQTTCLient Instance in try catch block

The instance doesn't need to be surrounded by try/catch, but ...READ MORE

answered Aug 21, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
1,237 views
0 votes
1 answer
0 votes
1 answer

Invalid MQTT publish topic on Google Cloud IoT

It's pretty simple. You have the incorrect ...READ MORE

answered Feb 27, 2019 in IoT (Internet of Things) by Upasana
• 8,620 points
2,244 views
0 votes
1 answer
0 votes
1 answer

How to get Unicast, Dns and Gateway Address in UWP?

Try this code Snippet I found here: https://social.msdn.microsoft.com/Forums/en-US/27a8b7a8-8071-4bc1-bbd4-e7c1fc2bd8d7/windows-10-iot-core-how-do-you-create-a-tcp-server-and-client?forum=WindowsIoT ...READ MORE

answered Jul 17, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
1,195 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP