#measure-time #broker #ping #mqtt #sending #latency #debugging

app mqtt-ping

Tool to measure latency of an MQTT broker

3 releases (breaking)

0.3.0 Feb 27, 2023
0.2.0 Oct 20, 2022
0.1.0 Oct 19, 2022

#15 in #measure-time

MIT license

39KB
415 lines

mqtt-ping

Tool that is useful for debugging publish forwards of a broker, starts two clients, one that subscribes and one that subscribes then measures the time between sending, and reception.

first ping will always take more time due to creating a path, thus the first time is treated differently, and not used in the average and median calculations

Screenshot

installation

cargo install mqtt-ping

Usage

basic:

mqtt-ping --broker mqtt://localhost

see the help for more

mgtt-ping --help

Dependencies

~18–30MB
~546K SLoC