Commit graph

675 commits

Author SHA1 Message Date
Joakim Frostegård
d36f97f272 aquatic http load test: remove connection if read 0 bytes 2020-08-02 21:42:35 +02:00
Joakim Frostegård
8d58f8bb70 init logger in aquatic_cli_helpers crate 2020-08-02 21:21:58 +02:00
Joakim Frostegård
427c0bc7c3 aquatic_http: add keep_alive setting (default true)
This might be good for performance in the real world. It also
enables fairer load test comparisons with opentracker, which
in my understanding drops connections after sending responses.
2020-08-02 20:06:49 +02:00
Joakim Frostegård
8caae958fd Update TODO 2020-08-02 20:06:46 +02:00
Joakim Frostegård
bed57717ba aquatic_http_load_test: fix formatting 2020-08-02 19:26:47 +02:00
Joakim Frostegård
c8b94adab5 aquatic_http: remove Connection.shutdown fn 2020-08-02 19:26:12 +02:00
Joakim Frostegård
c5194cf9d1 Update TODO 2020-08-02 19:25:30 +02:00
Joakim Frostegård
a02035d659 aquatic http load test: improve connection creation, default config 2020-08-02 19:11:14 +02:00
Joakim Frostegård
8a3f3fa330 aquatic http load test: add option for closing conn after response 2020-08-02 18:10:19 +02:00
Joakim Frostegård
f9d85117b1 aquatic_http_protocol: optimize response peer deserialization
Hopefully, now response peer vec only needs to be allocated once
2020-08-02 11:34:09 +02:00
Joakim Frostegård
b289e1f590 aquatic http load test: remove unused slab dependency 2020-08-02 11:04:47 +02:00
Joakim Frostegård
b53b7ed332 Update TODO 2020-08-02 11:04:43 +02:00
Joakim Frostegård
e1d8983bb6 aquatic http load test: clean up, minor reformatting 2020-08-02 10:41:07 +02:00
Joakim Frostegård
93a7ad0344 aquatic http load test: only send request when appropriate, other fixes 2020-08-02 10:24:27 +02:00
Joakim Frostegård
49414e9006 aquatic http load test: parse requests properly, fix issues 2020-08-02 10:04:24 +02:00
Joakim Frostegård
a18596544f aquatic http protocol: allow non-existing peers in Response
Really, this is to allow missing peers6
2020-08-02 10:03:42 +02:00
Joakim Frostegård
fe887e1de5 aquatic http protocol: add deserialize impl for responses 2020-08-02 09:27:44 +02:00
Joakim Frostegård
d487bf3ebb Update TODO 2020-08-02 09:27:14 +02:00
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