Commit graph

2034 commits

Author SHA1 Message Date
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
a86eb68fe7
Merge pull request #181 from greatest-ape/work-2023-01-29-b
udp: replace PanicSentinel with loop over JoinHandles
2024-01-29 22:43:40 +01:00
Joakim Frostegård
60c5a9c963
Merge branch 'master' into work-2023-01-29-b 2024-01-29 22:38:51 +01:00
Joakim Frostegård
5c2cd9a719 Update CHANGELOG 2024-01-29 22:29:44 +01:00
Joakim Frostegård
216bb93088 udp: improve WorkerType Display implementation 2024-01-29 22:27:03 +01:00
Joakim Frostegård
9d8aca8f86 Update TODO 2024-01-29 22:19:56 +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
1807c4a1e9
Merge pull request #180 from greatest-ape/work-2023-01-29
protocol crates: rename some methods, minor improvements
2024-01-29 21:00:46 +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
f30ab82371
Merge pull request #179 from greatest-ape/work-2024-01-27
README improvements; fix --no-default-features build errors
2024-01-27 18:32:07 +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
be5d5893ef Add warning to aquatic_udp.Dockerfile 2024-01-27 18:09:38 +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
b356e30f01
Merge pull request #178 from greatest-ape/greatest-ape-patch-1
http README: remove text about only running over TLS
2024-01-27 13:42:31 +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
5de0a7ec97
Merge pull request #177 from greatest-ape/update-arch-svg
Update system architecture svg
2024-01-27 13:15:18 +01:00
Joakim Frostegård
edcfecf1fb Update system architecture svg 2024-01-27 13:00:42 +01:00
Joakim Frostegård
96ec1f659b
Merge pull request #176 from greatest-ape/work-2023-01-26
Improve http swarm worker; add plain HTTP transfer CI testing; cargo update
2024-01-27 11:28:36 +01:00
Joakim Frostegård
2cc045616c Fix file transfer CI 2024-01-27 11:18:22 +01:00
Joakim Frostegård
a58dd5f7d6 Rename CI file transfer job 2024-01-27 11:08:15 +01:00
Joakim Frostegård
61f053b26e Run cargo update
Updating ciborium v0.2.1 -> v0.2.2
    Updating ciborium-io v0.2.1 -> v0.2.2
    Updating ciborium-ll v0.2.1 -> v0.2.2
      Adding crunchy v0.2.2
    Updating half v1.8.2 -> v2.3.1
    Updating pin-project v1.1.3 -> v1.1.4
    Updating pin-project-internal v1.1.3 -> v1.1.4
    Updating proc-macro2 v1.0.76 -> v1.0.78
    Updating regex v1.10.2 -> v1.10.3
    Updating regex-automata v0.4.3 -> v0.4.5
    Updating serde v1.0.195 -> v1.0.196
    Updating serde_derive v1.0.195 -> v1.0.196
    Updating serde_json v1.0.111 -> v1.0.112
    Updating value-trait v0.8.0 -> v0.8.1
    Updating winnow v0.5.34 -> v0.5.35
2024-01-27 11:01:42 +01:00
Joakim Frostegård
d26578d0ba Add plain HTTP transfer CI; update TODO 2024-01-27 10:58:36 +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
91f5289b2b
Merge pull request #175 from greatest-ape/work-2024-01-24
improve http performance and ws readability
2024-01-25 23:58:32 +01:00
Joakim Frostegård
3b22e9d829 Update CHANGELOG 2024-01-25 23:51:38 +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
09c61b884c Update TODO 2024-01-25 18:59:06 +01:00