aquatic_http_load_test

Crates.ioaquatic_http_load_test
lib.rsaquatic_http_load_test
version0.9.0
sourcesrc
created_at2022-03-26 11:17:27.964787
updated_at2024-05-03 21:08:13.708777
descriptionBitTorrent (HTTP over TLS) load tester
homepage
repositoryhttps://github.com/greatest-ape/aquatic
max_upload_size
id556673
size71,604
Joakim FrostegÄrd (greatest-ape)

documentation

README

aquatic_http_load_test: HTTP BitTorrent tracker load tester

CI

Load tester for HTTP BitTorrent trackers. Requires Linux 5.8 or later.

Usage

Compiling

  • Install Rust with rustup (latest stable release is recommended)
  • Install build dependencies with your package manager (e.g., apt-get install cmake build-essential)
  • Clone this git repository and build the application:
git clone https://github.com/greatest-ape/aquatic.git && cd aquatic

# Recommended: tell Rust to enable support for all SIMD extensions present on
# current CPU except for those relating to AVX-512. (If you run a processor
# that doesn't clock down when using AVX-512, you can enable those instructions
# too.)
. ./scripts/env-native-cpu-without-avx-512

cargo build --release -p aquatic_http_load_test

Configuring and running

Generate the configuration file:

./target/release/aquatic_http_load_test -p > "load-test-config.toml"

Make necessary adjustments to the file.

Make sure locked memory limits are sufficient:

ulimit -l 65536

First, start the tracker application that you want to test. Then start the load tester:

./target/release/aquatic_http_load_test -c "load-test-config.toml"

Copyright and license

Copyright (c) Joakim FrostegÄrd

Distributed under the terms of the Apache License, Version 2.0. Please refer to the LICENSE file in the repository root directory for details.

Commit count: 2010

cargo fmt