annotate mod_benchmark_storage/README.markdown @ 4542:fb4a50bf60f1

mod_prometheus: Invoke stats collection if in 'manual' mode Since 10d13e0554f9 a special value for statistics_interval "manual" exists, where a module is expected to invoke processing in connection to collection of stats. This makes internal collection and exporting to Prometheus happens at the same time with no chance of timers getting out of sync.
author Kim Alvefur <zash@zash.se>
date Tue, 13 Apr 2021 23:53:53 +0200
parents 5a19ccd8457a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1857
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 ---
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 summary: Storage benchmark tool
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 ...
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 To benchmark `mod_storage_internal`:
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 prosodyctl mod_benchmark_storage internal
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 Does a number (aprox. 10000) of reads and writes and to the selected
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 storage driver and tells you how long it took.