Commit graph

420 commits

Author SHA1 Message Date
Joakim Frostegård
ebe4d4357b Update TODO 2020-06-30 00:17:30 +02:00
Joakim Frostegård
7867d5c8f3 Update README: brag more about performance 2020-06-30 00:04:57 +02:00
Joakim Frostegård
7512b4b44f setup-bench-on-debian.sh: roll nginx into other apt-get line
Not installing nginx means script is aborted because of
"set -e", and that setting serves a purpose
2020-06-30 00:04:01 +02:00
Joakim Frostegård
4c2c6634c3 setup-bench-on-debian.sh: install git 2020-06-30 00:03:21 +02:00
Joakim Frostegård
1b4f04b6cf Update TODO 2020-05-30 15:06:32 +02:00
Joakim Frostegård
be18fb2655 aquatic_ws network connection: improve documentation 2020-05-30 15:04:49 +02:00
Joakim Frostegård
8dcf3e106c aquatic_udp default config: don't print statistics 2020-05-30 14:55:27 +02:00
Joakim Frostegård
897e2f748c Update TODO 2020-05-26 19:24:04 +02:00
Joakim Frostegård
f52de1ea44 aquatic_ws: log to stderr instead of stdout 2020-05-26 19:23:14 +02:00
Joakim Frostegård
7dd02a03d3 aquatic_ws announce handler: improve variable naming and scoping 2020-05-26 19:17:37 +02:00
Joakim Frostegård
efdd0315b0 TODO.md: update headings to reflect new crate names 2020-05-25 19:56:06 +02:00
Joakim Frostegård
9aa8f3e8f2 README: rename "architectural overview" section and move close to top 2020-05-25 19:47:51 +02:00
Joakim Frostegård
3addab07f0 move plot_pareto from aquatic_udp_bench crate into own crate 2020-05-25 19:38:53 +02:00
Joakim Frostegård
2f13e1e1a8 rename crate "cli_helpers" to "aquatic_cli_helpers" 2020-05-25 19:27:22 +02:00
Joakim Frostegård
bc4ada104d rename crate "bittorrent_udp" to "aquatic_udp_protocol" 2020-05-25 19:21:52 +02:00
Joakim Frostegård
abc0034a45 aquatic_ws: don't send peer its own offer 2020-05-25 19:01:10 +02:00
Joakim Frostegård
689a874cbe aquatic_ws: use debug log level for "read message" and "sent message" 2020-05-25 18:51:04 +02:00
Joakim Frostegård
6b881af20d Update TODO 2020-05-25 18:44:11 +02:00
Joakim Frostegård
5babd8eda0 aquatic udp load test: use socket2 instead of net2 2020-05-25 18:42:23 +02:00
Joakim Frostegård
96991562e3 aquatic_udp: use socket2 instead of net2 2020-05-25 18:33:07 +02:00
Joakim Frostegård
1ec4745f45 aquatic_ws: use socket2 instead of net2 2020-05-25 18:24:36 +02:00
Joakim Frostegård
5c07370786 Update TODO 2020-05-25 18:06:49 +02:00
Joakim Frostegård
840f67fc8d aquatic_udp: move some config vars to new substruct, ProtocolConfig 2020-05-25 18:04:47 +02:00
Joakim Frostegård
5af9ae4ede aquatic_ws: move some config vars to new substruct ProtocolConfig 2020-05-25 17:59:52 +02:00
Joakim Frostegård
15b749afed README: add section "architectural overview" 2020-05-24 13:27:02 +02:00
Joakim Frostegård
449d40c814 Update and reorganize README 2020-05-24 13:15:18 +02:00
Joakim Frostegård
e3b7af2c00 aquatic_ws: log error messages on channel send failure 2020-05-23 20:41:20 +02:00
Joakim Frostegård
ba060c539b aquatic_ws executable: remove thread log settings, add comment 2020-05-23 20:33:16 +02:00
Joakim Frostegård
66216657ec aquatic_ws: name worker threads
Note: simplelog doesn't seem to pick up thread names, but
this commit is good anyway, since they can be displayed
in e.g. htop on Linux
2020-05-23 20:27:31 +02:00
Joakim Frostegård
bc8916dce4 aquatic_ws: add logging with level configured by config file 2020-05-23 20:16:56 +02:00
Joakim Frostegård
0d4bc25ea9 Update README: update aquatic_ws default config 2020-05-23 17:43:23 +02:00
Joakim Frostegård
a5b1fa619a cli_helpers: better error messages for config file opening/reading 2020-05-23 17:25:09 +02:00
Joakim Frostegård
80c924d461 Update TODO 2020-05-23 17:16:44 +02:00
Joakim Frostegård
b9ee290ca0 aquatic_ws: add more anyhow error context annotations 2020-05-23 17:15:11 +02:00
Joakim Frostegård
65684472a6 Update TODO 2020-05-23 17:08:12 +02:00
Joakim Frostegård
7c33358254 aquatic_ws: polling: don't check if event readable
We only register interest in readable events so this should be OK
2020-05-23 17:06:46 +02:00
Joakim Frostegård
b571f2d8fd cli_helpers: add explicit short form -p for --print-config 2020-05-23 17:02:58 +02:00
Joakim Frostegård
f3bdb6bc2a aquatic_ws: privilege dropping; cli_helpers: show error context 2020-05-23 17:02:52 +02:00
Joakim Frostegård
a596ee155a aquatic_ws: wait for and quit on socket bind errors in workers 2020-05-23 16:38:31 +02:00
Joakim Frostegård
078a8c2868 Update TODO 2020-05-23 15:47:11 +02:00
Joakim Frostegård
d4bcc14c82 aquatic_ws: add setting Config.ipv6_only 2020-05-23 15:40:56 +02:00
Joakim Frostegård
416d61a2b2 aquatic_ws: split torrent state by ipv4/ipv6 2020-05-23 15:15:01 +02:00
Joakim Frostegård
7430c23ccc aquatic_ws: add simple_logger for debugging, need better solution 2020-05-23 14:53:29 +02:00
Joakim Frostegård
23e0e0bcd0 aquatic_ws: add log::trace statements for message read and write 2020-05-23 14:44:42 +02:00
Joakim Frostegård
a30335730b aquatic_ws: add settings for max ws message sizes, set low defaults 2020-05-23 14:44:03 +02:00
Joakim Frostegård
0f6d6d4b21 aquatic_ws: use log crate for debug error messages 2020-05-23 14:24:26 +02:00
Joakim Frostegård
572aa632b6 aquatic_ws: don't handle connection closed same as other errors 2020-05-23 14:17:03 +02:00
Joakim Frostegård
ae92785484 Update TODO 2020-05-23 14:10:06 +02:00
Joakim Frostegård
526faa9aab cli_helpers: use anyhow in app fn; aquatic_ws: reorganize error handling 2020-05-23 14:05:50 +02:00
Joakim Frostegård
1efe6f96c5 Update TODO 2020-05-22 15:40:04 +02:00