Commit graph

1927 commits

Author SHA1 Message Date
Joakim Frostegård
61ae6dd7e7
Merge pull request #118 from greatest-ape/work-2023-01-25
ws load test: use relaxed atomics, provide stats on number of active connections
2023-01-25 22:59:34 +01:00
Joakim Frostegård
b073d61bf3 cargo fmt 2023-01-25 22:50:25 +01:00
Joakim Frostegård
3d2ae26b13 ws load test: provide stats on number of active connections 2023-01-25 22:50:16 +01:00
Joakim Frostegård
1d8eec3c44 ws load test: use relaxed atomics 2023-01-25 22:40:35 +01:00
Joakim Frostegård
6f95a8cf4a
Merge pull request #117 from greatest-ape/update-http-load-test-2023-01-25
Update HTTP load test results
2023-01-25 22:29:19 +01:00
Joakim Frostegård
000948f47c Update HTTP load test results 2023-01-25 22:16:09 +01:00
Joakim Frostegård
5ac8f3727b
Merge pull request #116 from greatest-ape/prometheus
fix ws metrics; add http metrics; fix http load test issues; run cargo update
2023-01-18 22:36:26 +01:00
Joakim Frostegård
67ab93b5f0 README: move and update prometheus section 2023-01-18 22:07:40 +01:00
Joakim Frostegård
b5d5b70d91 Update CHANGELOG 2023-01-18 22:03:30 +01:00
Joakim Frostegård
1f24279ed3 http load test: use relaxed atomics 2023-01-18 21:59:52 +01:00
Joakim Frostegård
965a9fdf35 http load test: fix incoming bandwidth stats 2023-01-18 21:56:09 +01:00
Joakim Frostegård
c6a134683c Toggle prometheus feature in scripts/run-aquatic-http.sh 2023-01-18 21:50:10 +01:00
Joakim Frostegård
c46f42b98f ws: fix log message typo 2023-01-18 21:48:02 +01:00
Joakim Frostegård
da1ec6b5e1 ws: add worker index data to metrics, fix incorrect key 2023-01-18 21:41:44 +01:00
Joakim Frostegård
766c6f87ca http: add worker index data 2023-01-18 21:27:53 +01:00
Joakim Frostegård
b41c565e38 http: enable running prometheus endpoint 2023-01-18 21:05:20 +01:00
Joakim Frostegård
32884aae36 http: add peer and torrent count metrics 2023-01-18 21:04:25 +01:00
Joakim Frostegård
5c04245cbe http: add metrics for connection count, requests and responses 2023-01-18 20:48:59 +01:00
Joakim Frostegård
3a6661afd7 Run cargo update
Updating bumpalo v3.11.1 -> v3.12.0
    Updating console v0.15.4 -> v0.15.5
    Updating crc-catalog v2.1.0 -> v2.2.0
    Updating hashbrown v0.13.1 -> v0.13.2
    Updating indicatif v0.17.2 -> v0.17.3
    Updating nix v0.26.1 -> v0.26.2
    Updating nom v7.1.2 -> v7.1.3
    Updating object v0.30.1 -> v0.30.2
    Updating parking_lot_core v0.9.5 -> v0.9.6
    Updating proc-macro2 v1.0.49 -> v1.0.50
    Updating rustls v0.20.7 -> v0.20.8
    Updating sqlformat v0.2.0 -> v0.2.1
    Updating tokio v1.24.1 -> v1.24.2
    Updating windows_aarch64_gnullvm v0.42.0 -> v0.42.1
    Updating windows_aarch64_msvc v0.42.0 -> v0.42.1
    Updating windows_i686_gnu v0.42.0 -> v0.42.1
    Updating windows_i686_msvc v0.42.0 -> v0.42.1
    Updating windows_x86_64_gnu v0.42.0 -> v0.42.1
    Updating windows_x86_64_gnullvm v0.42.0 -> v0.42.1
    Updating windows_x86_64_msvc v0.42.0 -> v0.42.1
2023-01-18 20:08:34 +01:00
Joakim Frostegård
f87e649e60 ws: fix metric update in handle_announce_request 2023-01-18 20:00:34 +01:00
Joakim Frostegård
3cfe044297
Merge pull request #115 from greatest-ape/prometheus
ws: add prometheus support
2023-01-17 22:03:19 +01:00
Joakim Frostegård
9479e56d60 CI: build ws with prometheus feature 2023-01-17 21:57:51 +01:00
Joakim Frostegård
9dd45fd74c README: document ws prometheus support 2023-01-17 21:57:21 +01:00
Joakim Frostegård
20d1bd73ec ws: improve docs for MetricsConfig 2023-01-17 21:33:59 +01:00
Joakim Frostegård
ac4f2ade5d ws: remove unused MetricsConfig::active 2023-01-17 21:33:24 +01:00
Joakim Frostegård
56fafda234 ws: add torrent count metrics 2023-01-17 21:24:02 +01:00
Joakim Frostegård
32253a37df ws: prometheus: store ip version (v4/v6) for connections and messages 2023-01-17 21:06:34 +01:00
Joakim Frostegård
8b7c3c481c ws: add metrics for number of peers 2023-01-17 20:51:12 +01:00
Joakim Frostegård
3ac12b947f ws: add prometheus support (active connections, requests, responses) 2023-01-17 20:27:43 +01:00
Joakim Frostegård
bc4eea1a05
Merge pull request #112 from greatest-ape/work-2023-01-11
Add new udp load test
2023-01-11 22:45:51 +01:00
Joakim Frostegård
7abf32bf54 Remove old udp load test documents 2023-01-11 22:39:16 +01:00
Joakim Frostegård
06680287ef README: fix udp worker proportion typos 2023-01-11 22:38:47 +01:00
Joakim Frostegård
0a6c0489c8 Update new udp load test documents 2023-01-11 22:36:48 +01:00
Joakim Frostegård
a3c63b9af9 README: update udp worker proportion recommendations 2023-01-11 21:21:52 +01:00
Joakim Frostegård
4b9771de5d Add new udp load test 2023-01-11 21:21:38 +01:00
Joakim Frostegård
b0c9c93c28
Merge pull request #111 from greatest-ape/remove-unused-deps
Remove unused dependencies (ws: "either", http_protocol: "rand)
2023-01-10 16:09:34 +01:00
Joakim Frostegård
3a6101a02d Remove unused dependencies (ws: "either", http_protocol: "rand) 2023-01-10 15:51:15 +01:00
Joakim Frostegård
f5caf05963
Merge pull request #110 from greatest-ape/work-2023-01-10
ws: don't close connection when receiving ping message; update dependencies
2023-01-10 15:29:08 +01:00
Joakim Frostegård
fde09cf727 Update README 2023-01-10 15:21:06 +01:00
Joakim Frostegård
00d79c9218 Run cargo update
Updating async-trait v0.1.60 -> v0.1.61
      Adding base64 v0.21.0
    Updating libmimalloc-sys v0.1.28 -> v0.1.30
    Updating mimalloc v0.1.32 -> v0.1.34
    Updating nix v0.24.3 -> v0.26.1
    Updating object v0.30.0 -> v0.30.1
    Updating privdrop v0.5.2 -> v0.5.3
    Updating regex v1.7.0 -> v1.7.1
    Updating rustls-pemfile v1.0.1 -> v1.0.2
    Updating tokio v1.23.0 -> v1.24.1
    Updating try-lock v0.2.3 -> v0.2.4
2023-01-10 15:15:45 +01:00
Joakim Frostegård
5ed876f934 ws: don't close connection when receiving ping message 2023-01-10 15:11:33 +01:00
Joakim Frostegård
8cab0297a1
Merge pull request #108 from greatest-ape/work-2023-01-03_2
ws socket worker: replace an expect with error return
2023-01-03 19:13:01 +01:00
Joakim Frostegård
569e437f7b ws socket worker: replace an expect with error return 2023-01-03 19:06:27 +01:00
Joakim Frostegård
892b77ca61
Merge pull request #107 from greatest-ape/work-2023-01-03
Fix ws issue, update dependencies
2023-01-03 18:47:24 +01:00
Joakim Frostegård
d3e0e46b41 Update TODO 2023-01-03 18:45:22 +01:00
Joakim Frostegård
d53d0a64e6 Upgrade tungstenite to 0.18, async-tungstenite to 0.19 2023-01-03 18:45:02 +01:00
Joakim Frostegård
f18348d1d0 Run cargo update
Updating arc-swap v1.5.1 -> v1.6.0
    Updating console v0.15.2 -> v0.15.4
    Updating git-testament v0.2.1 -> v0.2.2
    Updating git-testament-derive v0.1.13 -> v0.1.14
    Updating libc v0.2.138 -> v0.2.139
    Updating nom v7.1.1 -> v7.1.2
    Updating once_cell v1.16.0 -> v1.17.0
    Updating portable-atomic v0.3.18 -> v0.3.19
    Updating serde v1.0.151 -> v1.0.152
    Updating serde_derive v1.0.151 -> v1.0.152
    Removing terminal_size v0.1.17
2023-01-03 18:36:14 +01:00
Joakim Frostegård
16effc74a3 ws socket worker: replace an unwrap with expect 2023-01-03 18:34:39 +01:00
Joakim Frostegård
14a801f4d4 ws socket worker: replace unwrap with error return 2023-01-03 18:27:56 +01:00
Joakim Frostegård
8bf0e12cb4
Merge pull request #106 from greatest-ape/work-2022-12-20
Run cargo update
2022-12-21 00:12:21 +01:00