High-performance open BitTorrent tracker (UDP, HTTP, WebTorrent)
Find a file
Joakim Frostegård c5b61bc76c Run cargo update
Updating ahash v0.7.7 -> v0.7.8
    Updating anstream v0.6.11 -> v0.6.13
    Updating anyhow v1.0.79 -> v1.0.81
    Updating arc-swap v1.6.0 -> v1.7.0
    Updating blake3 v1.5.0 -> v1.5.1
    Updating bumpalo v3.14.0 -> v3.15.4
    Updating cc v1.0.83 -> v1.0.90
    Updating clap v4.4.18 -> v4.5.3
    Updating clap_builder v4.4.18 -> v4.5.2
    Updating clap_derive v4.4.7 -> v4.5.3
    Updating clap_lex v0.6.0 -> v0.7.0
    Updating crc32fast v1.3.2 -> v1.4.0
    Updating crossbeam-channel v0.5.11 -> v0.5.12
    Updating either v1.9.0 -> v1.10.0
    Updating half v2.3.1 -> v2.4.0
    Updating halfbrown v0.2.4 -> v0.2.5
    Removing hashbrown v0.13.1
      Adding heck v0.5.0
    Updating hermit-abi v0.3.5 -> v0.3.9
    Removing http v0.2.11
    Removing http v1.0.0
      Adding http v0.2.12
      Adding http v1.1.0
    Updating indexmap v2.2.2 -> v2.2.5
    Updating is-terminal v0.4.10 -> v0.4.12
    Updating js-sys v0.3.67 -> v0.3.69
    Updating log v0.4.20 -> v0.4.21
    Updating metrics v0.22.0 -> v0.22.1
    Updating metrics-exporter-prometheus v0.13.0 -> v0.13.1
    Updating metrics-util v0.16.0 -> v0.16.2
    Updating mio v0.8.10 -> v0.8.11
    Updating num-integer v0.1.45 -> v0.1.46
    Updating num-iter v0.1.43 -> v0.1.44
    Updating num-traits v0.2.17 -> v0.2.18
    Updating num_threads v0.1.6 -> v0.1.7
    Updating pin-project v1.1.4 -> v1.1.5
    Updating pin-project-internal v1.1.4 -> v1.1.5
    Updating pkg-config v0.3.29 -> v0.3.30
    Updating proc-macro2 v1.0.78 -> v1.0.79
    Updating rayon v1.8.1 -> v1.9.0
    Updating regex-automata v0.4.5 -> v0.4.6
    Updating ring v0.17.7 -> v0.17.8
    Updating rustls-pemfile v2.0.0 -> v2.1.1
    Updating rustls-pki-types v1.2.0 -> v1.3.1
    Updating ryu v1.0.16 -> v1.0.17
    Updating serde v1.0.196 -> v1.0.197
    Updating serde_derive v1.0.196 -> v1.0.197
    Updating serde_json v1.0.113 -> v1.0.114
    Updating simplelog v0.12.1 -> v0.12.2
    Updating socket2 v0.5.5 -> v0.5.6
    Updating strsim v0.10.0 -> v0.11.0
    Updating syn v2.0.48 -> v2.0.52
    Updating tempfile v3.10.0 -> v3.10.1
    Updating termcolor v1.1.3 -> v1.4.1
    Updating textwrap v0.16.0 -> v0.16.1
    Updating thiserror v1.0.56 -> v1.0.58
    Updating thiserror-impl v1.0.56 -> v1.0.58
    Updating toml v0.8.10 -> v0.8.11
    Updating toml_edit v0.22.4 -> v0.22.7
    Updating unicode-normalization v0.1.22 -> v0.1.23
    Updating walkdir v2.4.0 -> v2.5.0
    Updating wasm-bindgen v0.2.90 -> v0.2.92
    Updating wasm-bindgen-backend v0.2.90 -> v0.2.92
    Updating wasm-bindgen-macro v0.2.90 -> v0.2.92
    Updating wasm-bindgen-macro-support v0.2.90 -> v0.2.92
    Updating wasm-bindgen-shared v0.2.90 -> v0.2.92
    Updating web-sys v0.3.67 -> v0.3.69
    Updating windows-targets v0.52.0 -> v0.52.4
    Updating windows_aarch64_gnullvm v0.52.0 -> v0.52.4
    Updating windows_aarch64_msvc v0.52.0 -> v0.52.4
    Updating windows_i686_gnu v0.52.0 -> v0.52.4
    Updating windows_i686_msvc v0.52.0 -> v0.52.4
    Updating windows_x86_64_gnu v0.52.0 -> v0.52.4
    Updating windows_x86_64_gnullvm v0.52.0 -> v0.52.4
    Updating windows_x86_64_msvc v0.52.0 -> v0.52.4
    Updating winnow v0.5.37 -> v0.6.5
2024-03-16 10:35:03 +01:00
.github Fix file transfer CI 2024-01-27 11:18:22 +01:00
crates udp: swarm: extract_response_peers: improve docs, add .copied() to iters 2024-02-11 01:02:16 +01:00
docker Add warning to aquatic_udp.Dockerfile 2024-01-27 18:09:38 +01:00
documents Improve udp README and latest load test md 2024-02-10 21:29:12 +01:00
scripts bencher: also bench aquatic_udp with io_uring 2024-02-09 01:21:24 +01:00
.dockerignore Add "documents" to .dockerignore 2022-07-23 17:50:54 +02:00
.gitignore work on http_private, including parsing announce requests 2022-04-02 13:32:36 +02:00
Cargo.lock Run cargo update 2024-03-16 10:35:03 +01:00
Cargo.toml Rename aquatic_load_tester to aquatic_bencher 2023-12-28 17:42:25 +01:00
CHANGELOG.md Update CHANGELOG 2024-02-10 22:52:36 +01:00
deny.toml add some allowed licences to deny.toml 2020-07-21 01:53:43 +02:00
LICENSE Decide to use Apache 2.0 license, add file and update Cargo.toml's 2020-04-20 16:54:43 +02:00
README.md Move architectural overview image to ws and http crate READMEs 2024-02-10 21:24:14 +01:00
TODO.md udp: add ConnectionValidator.update_elapsed, call regularly 2024-02-10 22:47:36 +01:00

aquatic: high-performance open BitTorrent tracker

CI

High-performance open BitTorrent tracker, consisting of sub-implementations for different protocols:

Name Protocol OS requirements
aquatic_udp BitTorrent over UDP Unix-like
aquatic_http BitTorrent over HTTP, optionally over TLS Linux 5.8 or later
aquatic_ws WebTorrent, optionally over TLS Linux 5.8 or later

Features at a glance:

  • Multithreaded design for handling large amounts of traffic
  • All data is stored in-memory (no database needed)
  • IPv4 and IPv6 support
  • Supports forbidding/allowing info hashes
  • Prometheus metrics
  • Automated CI testing of full file transfers

Known users:

Performance of the UDP implementation

UDP BitTorrent tracker throughput

More benchmark details are available here.

Usage

Please refer to the README pages for the respective implementations listed in the table above.

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.

Trivia

The tracker is called aquatic because it thrives under a torrent of bits ;-)