Joakim Frostegård
|
6eb3195d62
|
udp load test: fix typo
|
2024-02-05 23:54:44 +01:00 |
|
Joakim Frostegård
|
d8bdcfcf0a
|
udp load tester: open multiple sockets per worker; minor other fixes
|
2024-02-05 23:44:34 +01:00 |
|
Joakim Frostegård
|
6745eba2de
|
Rewrite udp load tester
- Less wobbly traffic patterns
- More consistent info hash peer distribution
|
2024-02-05 22:52:10 +01:00 |
|
Joakim Frostegård
|
c58e84c6eb
|
Merge branch 'master' into work-2024-02-04_2
|
2024-02-04 17:25:08 +01:00 |
|
Joakim Frostegård
|
a44c4cde3d
|
bencher: 2 core benchmark: always run round with 1 load test worker
This is to give chihaya a chance not to crash
|
2024-02-04 17:19:35 +01:00 |
|
Joakim Frostegård
|
944ae93b93
|
ws: fix thread name issue
|
2024-02-04 00:27:44 +01:00 |
|
Joakim Frostegård
|
d1426d3ac5
|
ws protocol: don't heap-allocate in serialize_20_bytes
|
2024-02-04 00:14:13 +01:00 |
|
Joakim Frostegård
|
40e33d8af1
|
fix prometheus timeout mask metrics
|
2024-02-04 00:03:01 +01:00 |
|
Joakim Frostegård
|
c4f645e03e
|
Fix ws and http build errors, fix ws thread name
|
2024-02-03 23:53:13 +01:00 |
|
Joakim Frostegård
|
a4f7c816d0
|
Improve logging: display thread and module names
|
2024-02-03 23:42:31 +01:00 |
|
Joakim Frostegård
|
437f2def7d
|
aquatic_common: feature-gate cpu pinning, remove hwloc feature
|
2024-02-03 23:16:45 +01:00 |
|
Joakim Frostegård
|
1acf44c001
|
ws and http: remove CPU pinning config structs, update CHANGELOG
|
2024-02-03 23:06:02 +01:00 |
|
Joakim Frostegård
|
6ee1871a53
|
aquatic_common: remove cpu-pinning code from prometheus spawner
|
2024-02-03 23:03:25 +01:00 |
|
Joakim Frostegård
|
498481568d
|
http: improve prometheus idle timeout
|
2024-02-03 23:01:45 +01:00 |
|
Joakim Frostegård
|
93f8995a72
|
ws: quit if any worker quits
|
2024-02-03 22:56:08 +01:00 |
|
Joakim Frostegård
|
d7e06468c3
|
http: quit if any worker thread quits
|
2024-02-03 22:38:05 +01:00 |
|
Joakim Frostegård
|
4ca73630c4
|
Move prometheus endpoint spawner from udp to common crate
|
2024-02-03 22:07:56 +01:00 |
|
Joakim Frostegård
|
3513b714b4
|
udp: consistently use NonZeroU16 for announce request port
|
2024-02-03 11:46:38 +01:00 |
|
Joakim Frostegård
|
b4e27903dc
|
udp: actually register global metrics handler
|
2024-02-02 14:46:42 +01:00 |
|
Joakim Frostegård
|
f2d063d6a6
|
udp load test: don't generate announce requests with port 0
|
2024-02-02 14:28:13 +01:00 |
|
Joakim Frostegård
|
bbb4c5e411
|
udp: remove ConnectedRequestSender::any_full method
|
2024-02-02 14:09:46 +01:00 |
|
Joakim Frostegård
|
97688ed074
|
udp: disallow announce requests with port value of 0
|
2024-02-02 14:08:08 +01:00 |
|
Joakim Frostegård
|
c48a83b06a
|
udp: reorder declarations in common.rs
|
2024-02-02 13:55:57 +01:00 |
|
Joakim Frostegård
|
be5165bcf2
|
udp: mio socket worker: make send_response plain fn
|
2024-02-02 13:48:06 +01:00 |
|
Joakim Frostegård
|
405bbaca93
|
udp: improve statistics structs
- Now, workers don't need to keep track of which atomic usize
to update
- Additionally, prometheus now gets separate information per
socket worker
|
2024-02-02 13:39:46 +01:00 |
|
Joakim Frostegård
|
e2e525b560
|
udp: move PeerStatus from common.rs to swarm worker
|
2024-02-01 23:25:43 +01:00 |
|
Joakim Frostegård
|
216bb93088
|
udp: improve WorkerType Display implementation
|
2024-01-29 22:27:03 +01:00 |
|
Joakim Frostegård
|
1967d8aa3e
|
udp: return errors from threads instead of panicking in some cases
|
2024-01-29 22:17:30 +01:00 |
|
Joakim Frostegård
|
ae75d0cbe4
|
udp socket worker: fix warning
|
2024-01-29 22:12:08 +01:00 |
|
Joakim Frostegård
|
6dec985d45
|
udp: store prometheus exporter thread handle, periodically render
|
2024-01-29 22:09:20 +01:00 |
|
Joakim Frostegård
|
8f838098aa
|
udp: replace PanicSentinel with loop over JoinHandles
|
2024-01-29 21:45:50 +01:00 |
|
Joakim Frostegård
|
239266ddab
|
udp protocol: improve README
|
2024-01-29 20:01:05 +01:00 |
|
Joakim Frostegård
|
38de05a6c4
|
http protocol: rename methods for writing to and parsing from bytes
|
2024-01-29 19:52:41 +01:00 |
|
Joakim Frostegård
|
3c906f48ee
|
ws protocol: make tungstenite integration optional feature
|
2024-01-29 19:49:05 +01:00 |
|
Joakim Frostegård
|
fee465d205
|
udp protocol: derive Copy for multiple structs
|
2024-01-29 19:45:29 +01:00 |
|
Joakim Frostegård
|
41efa151af
|
udp protocol: implement write_bytes for individual request types
|
2024-01-29 19:42:56 +01:00 |
|
Joakim Frostegård
|
1c59972834
|
udp protocol: rename "write" and "from_bytes" methods
|
2024-01-29 19:38:12 +01:00 |
|
Joakim Frostegård
|
964636db7c
|
http and ws: fix build errors with --no-default-features
|
2024-01-27 18:21:44 +01:00 |
|
Joakim Frostegård
|
acabf1581f
|
silence bencher clippy warning for now
|
2024-01-27 18:13:23 +01:00 |
|
Joakim Frostegård
|
c5e09e8106
|
README files: mention installing build-essential
|
2024-01-27 18:12:21 +01:00 |
|
Joakim Frostegård
|
a0c79970fe
|
Add separate READMEs for bencher, peer_id and all protocol crates
|
2024-01-27 18:05:21 +01:00 |
|
Joakim Frostegård
|
7d4ba6940b
|
Improve README files
|
2024-01-27 17:46:49 +01:00 |
|
Joakim Frostegård
|
264a12230e
|
http README: remove text about only running over TLS
|
2024-01-27 13:31:07 +01:00 |
|
Joakim Frostegård
|
352194e0bd
|
http: avoid heap allocation for torrents with few peers; refactor
|
2024-01-27 10:58:03 +01:00 |
|
Joakim Frostegård
|
9fc7abd568
|
aquatic_common: remove unused import
|
2024-01-25 23:43:48 +01:00 |
|
Joakim Frostegård
|
e4422cf3ff
|
ws: swarm worker: more readability refactors
|
2024-01-25 23:40:19 +01:00 |
|
Joakim Frostegård
|
f050467c2a
|
ws: further refactor of swarm worker to improve readability
|
2024-01-25 23:24:10 +01:00 |
|
Joakim Frostegård
|
e6e663761c
|
ws: refactor swarm worker storage code for improved readability
|
2024-01-25 19:35:45 +01:00 |
|
Joakim Frostegård
|
238cce9b16
|
Move common/extract_response_peers to ws since it is only user
|
2024-01-25 19:05:27 +01:00 |
|
Joakim Frostegård
|
c7f7f010ca
|
http: upgrade metrics crate to 0.22
|
2024-01-25 00:03:05 +01:00 |
|