Commit Graph

236 Commits

Author SHA1 Message Date
Joakim Frostegård 262b7224a8 Update README files 2026-05-11 14:04:02 +02:00
Joakim Frostegård 72f3cc2354 udp: enable balancing requests across workers on FreeBSD 2026-05-11 14:04:02 +02:00
Joakim Frostegård a601917c2a udp: keep locks for shorter period while cleaning 2026-05-11 14:04:02 +02:00
Joakim Frostegård 6ac034a7b7 udp: fix rare possible issue of peers not being added to swarm 2026-05-11 14:04:02 +02:00
Joakim Frostegård 27a4c14c49 udp: implement optional full scrape exports to a text file 2026-05-11 09:58:22 +02:00
Joakim Frostegård 8f852826a9 http: fix dropped futures 2026-05-10 14:00:17 +02:00
Joakim Frostegård f0c70a17ab Change monotonicity error handling (ValidUntil etc)
Errors are now logged and in some cases, behaviour changes.
2026-05-10 14:00:17 +02:00
Joakim Frostegård 5b0c3b3e7d udp: improve test of torrent cleaning 2026-05-10 14:00:17 +02:00
Joakim Frostegård 6731f647af Add unit and integration tests regarding torrent cleaning 2026-05-10 14:00:17 +02:00
Joakim Frostegård b67a5e8421 udp protocol: don't unnecessarily create error 2026-05-08 13:11:05 +02:00
Joakim Frostegård 73501f07b7 Run cargo fmt 2026-05-08 13:11:05 +02:00
Joakim Frostegård 3957909694 Streamline udp_protocol with new zerocopy improvements 2026-05-08 13:11:05 +02:00
Joakim Frostegård a7e8e241a5 Initial update to zerocopy v0.8 2026-05-08 13:11:05 +02:00
Joakim Frostegård 68c0b17bfc Remove rust-version directives
It is not being properly kept track of / tested
2026-05-08 10:28:26 +02:00
Joakim Frostegård e7dcb87bae Run cargo fmt 2026-05-08 10:28:26 +02:00
Joakim Frostegård 9a758c200c Fix ws test build failure 2026-05-08 10:28:26 +02:00
Joakim Frostegård 1c8b0a058b Update bencher toml version 2026-05-08 10:28:26 +02:00
Joakim Frostegård c01385db75 Fix udp io uring build error (due to rand version bump) 2026-05-08 10:28:26 +02:00
Joakim Frostegård ab4f7ffcc8 ws, http: Use DenseSlotMap instead of deprecated HopSlotMap
This may be slower for request handling but will not pathologically
slow down cleaning
2026-05-08 10:28:26 +02:00
Joakim Frostegård 91265a9c80 Update metrics dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 67ad15eb7f Update criterion dependency 2026-05-08 10:28:26 +02:00
Joakim Frostegård 723471c268 Update http_protocol bendy dependency 2026-05-08 10:28:26 +02:00
Joakim Frostegård dd813a3c24 Update some ws dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 624e2aca5e Update some http dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 90ab4df7fe Update ws docs: raise memlock limit amount 2026-05-08 10:28:26 +02:00
Joakim Frostegård 3d6c60cb08 Update some ws dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 6956806fc6 Update multiple udp dependencies 2026-05-08 10:28:26 +02:00
Joakim Frostegård 2df331c5ab udp: don't add messages to resend queue more than once (bugfix) 2025-02-03 00:08:30 +01:00
Joakim Frostegård 94e3af2463 http: use separate sockets for IPv4 and IPv6 (#221) 2025-01-16 22:53:56 +01:00
Joakim Frostegård 048c297fc7 udp: open one socket each for IPv4 and IPv6 (#220)
* tmp work on udp double sockets

* WIP: udp: open two sockets (one for ipv4, one for ipv6)

io_uring not ported yet

* udp: open one socket each for IPv4 and IPv6

Config file now has one setting for each

* file transfer ci: fix udp network.address_ipv4
2025-01-16 20:13:28 +01:00
Joakim Frostegård 0eb66f150c Improve network address config documentation, update TODO 2025-01-13 22:14:15 +01:00
Joakim Frostegård 24897dd73d Improve documentation around IPv4/IPv6 address binding 2025-01-12 23:09:05 +01:00
Joakim Frostegård fe4761d289 udp: update io_uring dependency 2025-01-12 22:41:06 +01:00
Joakim Frostegård 34902048d9 Update async-tungstenite version 2025-01-12 22:35:07 +01:00
Joakim Frostegård edc85a0f66 Update more deps 2025-01-12 22:22:25 +01:00
Joakim Frostegård 19448fbc84 Upgrade metrics dependencies 2025-01-12 22:15:27 +01:00
Joakim Frostegård ea06ffd513 Update to hashbrown v0.15 2025-01-12 22:10:29 +01:00
Joakim Frostegård 86ff9cd577 http: fix enclose macro invocation error 2025-01-12 22:10:16 +01:00
Alexander Lopatin 751ef7966e Fix #211: memlock 73728 is the smallest limit that works for Alpine Linux 3.20.3 x86_64 build (#212) 2024-10-20 14:42:50 +02:00
Jose Celano 88b1292672 Update the Bencher README with the latest Torrust Tracker commit (#209)
compatible with the current benchmarking configuration.

How to install the Torrust Tracker to run the benchmarking:

```console
git clone git@github.com:torrust/torrust-tracker.git
cd torrust-tracker
git checkout eaa86a76fc2bca837172e0e5c0221ee14b16b122
cargo build --release
sudo cp ./target/release/torrust-tracker /usr/local/bin/
sudo chmod +x /usr/local/bin/torrust-tracker
```

How to test the configration:

TORRUST_TRACKER_CONFIG_TOML=$(cat << EOF
            [metadata]
            schema_version = "2.0.0"

            [logging]
            threshold = "error"

            [core]
            listed = false
            private = false
            tracker_usage_statistics = false

            [core.database]
            driver = "sqlite3"
            path = "./sqlite3.db"

            [core.tracker_policy]
            persistent_torrent_completed_stat = false
            remove_peerless_torrents = false

            [[udp_trackers]]
            bind_address = "0.0.0.0:3000"
EOF
) torrust-tracker
2024-08-09 12:24:43 +02:00
Jose Celano c254605d60 fix: update torrust tracker config in bencher (#208)
Now, some configuration options have default values. So we only need to
disable options that make the tracker slower.

Some options are still mandatory like:

- logging.threshold
- metadata.schema_version
- core.listed
- core.private
2024-08-07 16:39:05 +02:00
Cameron Garnham a4c1bbfe55 dev: add ordinal compare to udp primitive types 2024-07-15 20:25:42 +02:00
Joakim Frostegård 67210fbb10 Fix some README typos 2024-05-03 22:51:19 +02:00
Joakim Frostegård 19df20e03f Fully remove udp cpu pinning support 2024-05-03 22:49:20 +02:00
Joakim Frostegård 215a22c95b Run cargo fmt 2024-05-03 22:38:47 +02:00
Joakim Frostegård 7795a1a532 Make mimalloc optional for udp and http 2024-05-03 22:38:25 +02:00
Joakim Frostegård 755281d340 udp protocol: test that parsing slices of various lengths doesn't panic 2024-05-03 22:29:15 +02:00
Joakim Frostegård b1848c361d Update glommio to v0.9 2024-04-25 22:50:41 +02:00
Joakim Frostegård 6c4b2d384d Update metrics-exporter-prometheus to v0.14 2024-04-25 22:41:13 +02:00
Joakim Frostegård ec95f7e73c Fix a ws Cargo.toml comment 2024-04-25 22:39:21 +02:00