Skip to content

Experimental setup to test mqtt QoS levels via 3-tier-setup and roundtrip time

License

Notifications You must be signed in to change notification settings

yulivee/mqtt-qos-rountrip

Repository files navigation

Create File of fixed filesize

dd if=/dev/zero of=1Byte.txt bs=1B count=1
dd if=/dev/zero of=1Byte.txt bs=1 count=1
dd if=/dev/zero of=10Byte.txt bs=10 count=1
dd if=/dev/zero of=100Byte.txt bs=100 count=1
dd if=/dev/zero of=1KByte.txt bs=1K count=1
dd if=/dev/zero of=1500Byte.txt bs=1500 count=1
dd if=/dev/zero of=10KByte.txt bs=10K count=1
dd if=/dev/zero of=100KByte.txt bs=100K count=1
dd if=/dev/zero of=1MByte.txt bs=1M count=1
dd if=/dev/zero of=10MByte.txt bs=10M count=1
dd if=/dev/zero of=100MByte.txt bs=100M count=1
dd if=/dev/zero of=256MByte.txt bs=256M count=1

Most efficient measuring

for qos in 0 1 2; do;
      for cycles in 10 100 1000; 
         do echo "qos: $qos, cycles: $cycles";
         python client1.py --file files/100Byte.txt --cycles $cycles --qos_level $qos ;
         sleep 3;
         killall python;
      done;
done

About

Experimental setup to test mqtt QoS levels via 3-tier-setup and roundtrip time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published