Crates.io | mqtt-ping |
lib.rs | mqtt-ping |
version | 0.3.0 |
source | src |
created_at | 2022-10-19 14:51:07.534017 |
updated_at | 2023-02-27 13:37:49.697306 |
description | Tool to measure latency of an MQTT broker |
homepage | |
repository | https://github.com/TotalKrill/mqttping-rs.git |
max_upload_size | |
id | 691729 |
size | 73,656 |
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
cargo install mqtt-ping
basic:
mqtt-ping --broker mqtt://localhost
see the help for more
mgtt-ping --help