#mqtt-broker #measure-time #ping #sending #latency #publish #forwards

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

#2 in #forwards

Download history 22/week @ 2024-02-12 11/week @ 2024-02-19 27/week @ 2024-02-26

60 downloads per month

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

~16–30MB
~546K SLoC