3 releases (breaking)

0.9.0 May 3, 2024
0.8.0 Mar 18, 2023
0.2.0 Mar 26, 2022

#2210 in Network programming

Download history 5/week @ 2024-02-15 10/week @ 2024-02-22 1/week @ 2024-03-07 2/week @ 2024-03-14 4/week @ 2024-03-28 1/week @ 2024-04-04 169/week @ 2024-05-02

169 downloads per month
Used in aquatic_bencher

Apache-2.0

110KB
2.5K SLoC

aquatic_udp_load_test: UDP BitTorrent tracker load tester

CI

High-performance load tester for UDP BitTorrent trackers, for Unix-like operating systems.

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_udp_load_test

Configuring and running

Generate the configuration file:

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

Make necessary adjustments to the file.

Once done, first start the tracker application that you want to test. Then, start the load tester:

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

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.

Dependencies

~10–20MB
~270K SLoC