Commit graph

223 commits

Author SHA1 Message Date
oooo-ps
a313b907fa
Merge pull request #2 from oooo-ps/adaptive-css-theme
make adaptive css theme
2025-07-08 22:19:19 +03:00
yggverse
e238db4439 add missed condition to collect an additional data, implement as shared config function 2025-07-08 21:07:30 +03:00
yggverse
3fa126ffa5 use short local var name 2025-07-08 19:09:36 +03:00
yggverse
4ec82dc945 minor optimizations: remove extra vector wrap 2025-07-08 16:09:32 +03:00
yggverse
67de3fc213 apply clippy optimization 2025-07-08 15:07:18 +03:00
yggverse
8a58dfdf13 fix up to date match condition 2025-07-08 14:44:56 +03:00
yggverse
3377baad75 update statistic is active condition 2025-07-08 14:43:29 +03:00
yggverse
8a3d05fa43 rename len variable 2025-07-08 14:08:31 +03:00
yggverse
e51c1dc7b1 remove separator byte from the binary api format 2025-07-08 14:04:19 +03:00
yggverse
7a62417d18 fix vector init 2025-07-08 01:54:47 +03:00
yggverse
7d00f0750f implement binary info-hash api 2025-07-08 01:41:06 +03:00
yggverse
4b473a63bc implement info-hash JSON/API #226 2025-06-03 14:50:32 +03:00
yggverse
e6b37c1c5f implement Display trait for InfoHash #226 2025-06-03 13:02:44 +03:00
ps-droid
27a656b7cc make adaptive css theme 2025-06-02 11:13:19 +03: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
Joakim Frostegård
efa10015e5 Upgrade async-tungstenite to v0.25 2024-04-25 22:38:41 +02:00
Joakim Frostegård
69294ea201 Update rustls to v0.23 2024-04-25 22:36:47 +02:00
Joakim Frostegård
79d8a3b6f3 http: don't always close connection after sending error response 2024-04-25 22:31:02 +02:00
Joakim Frostegård
921fb57e9e http: improve peer addr extraction logic 2024-04-20 10:27:48 +02:00
Joakim Frostegård
3e7ad2a9e7 http socket worker, connection module: add comment about peer addr 2024-04-14 00:47:57 +02:00
Joakim Frostegård
b898c53ae1 http: don't require peer addr to have been set in send_response 2024-04-14 00:46:02 +02:00
Val Packett
2d18eb6686 udp: fix msghdr creation on musl libc
Right now building for musl also requires updating glommio to a git
version.
2024-03-30 10:31:16 +01:00
Joakim Frostegård
5ef2ea2745 bencher: update README 2024-03-21 17:07:34 +01:00
Joakim Frostegård
cc800a8416 bencher: add 2 threads per core entries for aquatic and opentracker
Use low priority to enable skipping them
2024-03-21 17:04:26 +01:00
Joakim Frostegård
51fe398708 Update bencher README 2024-03-21 17:00:00 +01:00
Jose Celano
c5843eedce
bencher: add new tracker, torrust-tracker
Adds a new tracker to the bencher.

https://github.com/torrust/torrust-tracker
2024-03-20 09:11:22 +00:00
Joakim Frostegård
9f000abb52 Add separate READMEs for load testers 2024-03-16 10:50:52 +01:00
Joakim Frostegård
61bc4f0d9d udp: swarm: extract_response_peers: improve docs, add .copied() to iters 2024-02-11 01:02:16 +01:00