Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark packages #1372

Open
josecelano opened this issue Mar 11, 2025 · 0 comments
Open

Benchmark packages #1372

josecelano opened this issue Mar 11, 2025 · 0 comments
Labels
EPIC Contains several subissues Testing Checking Torrust

Comments

@josecelano
Copy link
Member

@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:

Image

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

@josecelano josecelano added Testing Checking Torrust EPIC Contains several subissues labels Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPIC Contains several subissues Testing Checking Torrust
Projects
None yet
Development

No branches or pull requests

1 participant