#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

#12 in #measure-time

Download history 24/week @ 2024-02-15 24/week @ 2024-02-22 12/week @ 2024-02-29 3/week @ 2024-03-07 7/week @ 2024-03-14 33/week @ 2024-03-28 18/week @ 2024-04-04

51 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–29MB
~540K SLoC