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
Joakim Frostegård
c7f7f010ca
http: upgrade metrics crate to 0.22
2024-01-25 00:03:05 +01:00
Joakim Frostegård
fe6a7ef8b5
http: update crate description
2024-01-24 23:37:35 +01:00
Joakim Frostegård
73eeb22f66
http: extract response peers while announcing peer removed
...
This improves performance by avoiding lots of comparisons
2024-01-24 23:33:15 +01:00
Joakim Frostegård
d346cf97aa
Update TODO
2024-01-24 23:04:26 +01:00
Joakim Frostegård
63ae98f67c
http: index peer map by IP and port instead of IP and peer id
2024-01-24 22:54:13 +01:00
Joakim Frostegård
0286d25346
Merge pull request #173 from greatest-ape/work-2024-01-20
...
udp mem use and stability improvements; update deps; fix clippy warnings
2024-01-20 11:18:42 +01:00
Joakim Frostegård
cbbfa9afef
toml_config_derive: fix clippy warning
2024-01-20 10:43:39 +01:00
Joakim Frostegård
aeeeda1b2b
bencher: fix most clippy warnings
2024-01-20 10:40:28 +01:00
Joakim Frostegård
2dd3ab8682
aquatic_common: fix clippy warnings
2024-01-20 10:37:15 +01:00
Joakim Frostegård
746aa47cce
http: silence clippy warnings
2024-01-20 10:29:13 +01:00
Joakim Frostegård
c32fa7cc2b
Fix ws clippy warnings
2024-01-20 10:27:15 +01:00
Joakim Frostegård
9d1bba5e92
udp: fix/silence clippy warnings
2024-01-20 10:08:53 +01:00
Joakim Frostegård
5401eaf85f
Run cargo clippy --fix and cargo fmt
2024-01-20 09:56:14 +01:00
Joakim Frostegård
22e151d0f0
http: start awaiting conn close message before tls setup
2024-01-20 09:43:55 +01:00
Joakim Frostegård
75c1402394
Update CHANGELOG
2024-01-20 09:43:39 +01:00
Joakim Frostegård
1de07ec603
Run cargo update
2024-01-20 09:43:03 +01:00
Joakim Frostegård
0c03048ce8
udp: update metrics crate
2024-01-20 09:42:17 +01:00
Joakim Frostegård
1a6b4345d4
udp: remove thingbuf in favor of crossbeam channel
...
thingbuf didn't have obvious performance advantages and is a lot less
mature. Furthermore, it doesn't support anything like crossbeam
Receiver::try_iter, which is prefereable now that announce responses
can be sent to any socket worker.
2024-01-20 09:41:07 +01:00
Joakim Frostegård
e77c9f46e7
udp: store torrents with few peers without an extra heap alloc
2024-01-20 09:40:09 +01:00
Joakim Frostegård
d8bd964a57
Merge pull request #171 from greatest-ape/ws-fix-backpressure-2
...
aquatic_ws: remove ineffective backpressure implementation, improve load tester, remove glob exports
2024-01-08 20:37:52 +01:00
Joakim Frostegård
0dae7fd533
ws protocol: remove glob exports; adjust dependent crates
2024-01-08 20:16:46 +01:00
Joakim Frostegård
27ecccd984
ws load test: store global info hashes as Arc<[InfoHash]>
2024-01-08 20:07:15 +01:00
Joakim Frostegård
34167371b0
ws load test: refactor network module
2024-01-08 20:02:30 +01:00
Joakim Frostegård
64926ba46a
ws load test: clean up, slight code refactor
2024-01-08 19:37:01 +01:00
Joakim Frostegård
2279e8390e
ws load test: send answers regarding correct info_hash
2024-01-08 19:09:17 +01:00
Joakim Frostegård
d4c95d89c0
ws: swarm: remove peer ValidUntil update task, just create when needed
2024-01-08 18:54:11 +01:00
Joakim Frostegård
36954e5f48
ws: SwarmControlMessage::ConnectionClosed: use Vec for info hashes
2024-01-08 18:51:39 +01:00
Joakim Frostegård
4c831643b1
ws: remove ineffective backpressure implementation
2024-01-08 18:41:24 +01:00
Joakim Frostegård
bcd8988ccd
Merge pull request #170 from greatest-ape/ws-mem-leak
...
Possible fix for ws memory leak; dependency updates; add ws mimalloc feature
2024-01-07 11:33:30 +01:00
Joakim Frostegård
1ee08bf323
Merge pull request #168 from greatest-ape/udp-bench-fixes
...
udp and bencher tweaks
2024-01-07 11:28:06 +01:00
Joakim Frostegård
188da135ab
ws: add Connection backpressure channel instead of spawning tasks
...
Seems to fix memory leak issue
2024-01-07 11:27:03 +01:00
Joakim Frostegård
6e7d36cffc
ws: add mimalloc feature to make it easier to disable it
2024-01-07 10:41:11 +01:00
Joakim Frostegård
3042539101
update ws dependencies as well as http rustls dependency
2024-01-07 10:40:50 +01:00
Joakim Frostegård
071f088d8b
ws: socket worker: wait for interal close message in priority queue
2024-01-06 00:13:18 +01:00
Joakim Frostegård
579fcb2140
ws: don't yield unnecessarily in run_in_message_loop, improve logging
2024-01-05 23:13:31 +01:00
Joakim Frostegård
d48deeff8c
udp load test: refactor worker
2024-01-04 18:34:18 +01:00
Joakim Frostegård
1e9b5c450c
udp load test: use fixed rng seed
2024-01-04 17:58:11 +01:00
Joakim Frostegård
55516956ca
udp load test: store peer scrape_hash_indices as boxed slice
2024-01-04 17:51:45 +01:00