torrust-tracker
torrust-tracker copied to clipboard
Benchmark packages
@nuts-rice has added benchmarks for a couple of packages:
- udp-tracker-core
- http-tracker-core
It would be nice to continue adding for the rest (at least the main ones):
- axum-http-tracker-server
- udp-tracker-server
- tracker-core
One of the advantages is we would be able to compare layers:
- server
- UDP or HTTP core
- tracker core
For example, with the recently added benchmarks for the HTTP tracker:
We can conclude that the HTTP tracker core layer is not the bottleneck.
The HTTP tracker core can handle:
- 80000 req in 18 ms
- 80000 / 18 = 4444,444444444 / ms * 1000 = 4444444,444444444 / sec
4,444,444 announces / sec
If I'm not wrong.
cc @da2ce7