Commit graph

557 commits

Author SHA1 Message Date
Joakim Frostegård
cb3ec8cbf1 WIP: get http load test into better (but bad) state
Is now able to maintain correspondence with aquatic_http
and opentracker
2020-08-02 06:38:36 +02:00
Joakim Frostegård
9707898a32 aquatic_http: remove underscore from "failure_reason" 2020-08-02 02:46:52 +02:00
Joakim Frostegård
e7de66603e aquatic_http: add upper limit on request read buffer 2020-08-02 02:45:56 +02:00
Joakim Frostegård
9062baef81 Update TODO 2020-08-02 01:43:56 +02:00
Joakim Frostegård
293b5f1125 Update TODO 2020-08-02 01:32:14 +02:00
Joakim Frostegård
ea6a4c2635 refactor aquatic_udp_protocol, notably make converters trait fns 2020-08-02 01:23:11 +02:00
Joakim Frostegård
2cf161469f Update ODO 2020-08-02 00:52:59 +02:00
Joakim Frostegård
6018450414 aquatic_udp: stop reregistering socket 2020-08-02 00:46:47 +02:00
Joakim Frostegård
fb850170c4 Update TODO 2020-08-02 00:45:58 +02:00
Joakim Frostegård
ec0f132142 aquatic udp bench: fix cli program name 2020-08-02 00:37:07 +02:00
Joakim Frostegård
561cc3db55 fix more clippy warnings 2020-08-02 00:36:56 +02:00
Joakim Frostegård
aabdf76a5d aquatic_ws: fix some clippy warnings 2020-08-02 00:07:12 +02:00
Joakim Frostegård
8fc09cb130 http: fix some clippy errors, including possible network bug 2020-08-01 23:59:17 +02:00
Joakim Frostegård
c202d9ba41 udp, ws load test: fix clippy errors 2020-08-01 23:50:01 +02:00
Joakim Frostegård
d92b11191a Update TODO 2020-08-01 23:23:59 +02:00
Joakim Frostegård
118c2e446b scripts: don't print RUSTFLAGS, causes issues when printing configs 2020-08-01 23:23:10 +02:00
Joakim Frostegård
f561ca9794 ws load test: add config field for connection creation interval 2020-08-01 23:20:55 +02:00
Joakim Frostegård
aa0094164a http load test: add config fields num connections, creation interval
Also update defaults
2020-08-01 23:17:24 +02:00
Joakim Frostegård
7d4b1ab610 aquatic http protocol: AnnounceRequest.write: write actual event 2020-08-01 23:05:07 +02:00
Joakim Frostegård
953154824e aquatic ws load test: use longer value for request offer/answer fields 2020-08-01 22:57:13 +02:00
Joakim Frostegård
6f2dc6a510 aquatic_ws: add InMessage::from_ws_message, use in load test 2020-08-01 22:45:19 +02:00
Joakim Frostegård
f7eae860d3 aquatic ws load test: improve answer sending 2020-08-01 22:29:58 +02:00
Joakim Frostegård
3e4e145248 aquatic http protocol Cargo.toml: move bendy to dev-dependencies 2020-08-01 22:23:01 +02:00
Joakim Frostegård
081d4cca26 Update TODO 2020-08-01 06:48:44 +02:00
Joakim Frostegård
a28012a898 aquatic cli helpers: upgrade to gumdrop 0.8 2020-08-01 06:43:57 +02:00
Joakim Frostegård
0bebbe4018 http and udp load tests: fix cli program names 2020-08-01 06:43:43 +02:00
Joakim Frostegård
e026a366f7 aquatic ws load test: fix cli program name 2020-08-01 06:42:27 +02:00
Joakim Frostegård
99b098c132 Update TODO 2020-08-01 06:42:17 +02:00
Joakim Frostegård
0eb01a1b0e Update README 2020-08-01 06:10:09 +02:00
Joakim Frostegård
716228c1b1 aquatic_ws: don't run log::error on closing closed connection 2020-08-01 06:09:42 +02:00
Joakim Frostegård
5845393fbb Update TODO 2020-08-01 06:09:25 +02:00
Joakim Frostegård
d44d513879 aquatic ws load test: remove unused stats 2020-08-01 06:01:26 +02:00
Joakim Frostegård
b0d2f67ab6 aquatic ws load test: send answers, count answer responses 2020-08-01 05:57:52 +02:00
Joakim Frostegård
364606a025 aquatic ws load test: make NUM_CONNECTIONS a config field 2020-08-01 04:37:54 +02:00
Joakim Frostegård
55045279ac aquatic ws load test: send offers, count offer responses 2020-08-01 04:27:55 +02:00
Joakim Frostegård
6a9e1f5e72 aquatic_ws: keep valid_until up to date in established connections 2020-08-01 04:27:31 +02:00
Joakim Frostegård
0f072244ab WIP: aquatic_ws: use microseconds for poll timeout, remove unwrap 2020-08-01 03:44:29 +02:00
Joakim Frostegård
a5108f813d WIP: aquatic_ws: add half-crappy load test, fix infinite loop bug 2020-08-01 03:35:00 +02:00
Joakim Frostegård
c7be84a61e aquatic_ws: upgrade to tungstenite 0.11 2020-08-01 00:13:38 +02:00
Joakim Frostegård
809d16919d aquatic_ws: convert ipv4-mapped ipv6 addresses to ipv4 (for state split) 2020-08-01 00:08:18 +02:00
Joakim Frostegård
4067e420c3 udp: response parsing: parse ipv6 peers on action 4 2020-07-31 06:27:05 +02:00
Joakim Frostegård
29f4c4dd7c Merge branch 'udp-ipv6' 2020-07-31 06:10:37 +02:00
Joakim Frostegård
6240cc2106 Update README and TODO 2020-07-31 06:10:14 +02:00
Joakim Frostegård
a3a1d1606b WIP: udp: add ipv6 support
Returning IPv6 peers doesn't really work with UDP. It is not supported by
https://libtorrent.org/udp_tracker_protocol.html. There is a suggestion in
https://web.archive.org/web/20170503181830/http://opentracker.blog.h3q.com/2007/12/28/the-ipv6-situation/
of using action number 4 and returning IPv6 octets just like for IPv4
addresses. Clients seem not to support it very well, but due to a lack of
alternative solutions, it is implemented here
2020-07-31 05:37:58 +02:00
Joakim Frostegård
bdb6aced1c Run cargo update 2020-07-31 01:54:38 +02:00
Joakim Frostegård
ae73ab5b56 Update TODO 2020-07-31 01:54:29 +02:00
Joakim Frostegård
d5de57b45f aquatic_ws: replace flume with crossbeam-channel
This improved performance in aquatic_http
2020-07-31 01:47:45 +02:00
Joakim Frostegård
0d8b6f6cc4 build scripts: disable avx512, since it decreases performance 2020-07-31 01:34:13 +02:00
Joakim Frostegård
225a76e075 Update TODO and README 2020-07-25 20:54:49 +02:00
Joakim Frostegård
997482d46d aquatic_http: urldecode_20_bytes: remove duplicate check
request-from-bytes performance seems to have regressed,
I don't know why (+8%)
2020-07-24 23:06:46 +02:00