Commit graph

349 commits

Author SHA1 Message Date
Joakim Frostegård
5e79df8e7e Update TODO 2022-04-03 19:52:33 +02:00
Joakim Frostegård
44f4474fb2 Update TODO 2022-04-03 00:56:54 +02:00
Joakim Frostegård
6e97bff93f Update TODO 2022-04-02 14:21:44 +02:00
Joakim Frostegård
4e79bd334a Update TODO 2022-03-31 12:29:35 +02:00
Joakim Frostegård
34857910b0 Update TODO 2022-03-24 16:33:34 +01:00
Joakim Frostegård
894cb215ea Update TODO 2022-03-20 19:43:14 +01:00
Joakim Frostegård
66dd92e575 Update TODO 2022-03-20 18:48:07 +01:00
Joakim Frostegård
e3ce111548 Reorganize and clean up TODO, add some entries 2022-02-20 00:44:56 +01:00
Joakim Frostegård
0d501dc833 Update TODO 2022-02-19 15:19:42 +01:00
Joakim Frostegård
348c8a5400 Update TODO 2022-02-03 19:31:27 +01:00
Joakim Frostegård
67c4c02bbd
aquatic_ws: mio: replace native_tls with rustls, rewrite connection state logic completely (#38)
* ws: mio: use rustls, rewrite Connection logic

* ws: mio: improve poll register/deregister handling

* ws: mio: work on type-level poll registry safety

* ws: mio: use stronger poll registry type-level guarantees

* ws: mio: fix stream reading

* ws: clean up, run fmt

* ws: mio: don't require registered connection for writing, improve docs

* ws: mio: add Connection::get_meta(), make Connection::meta private

* ws: mio: add ConnectionMap struct; remove utils.rs

* ws: mio: move token counter into ConnectionMap, improve docs

* ws: mio: connection: move Connection struct above state structs

* Update TODO

* ws: fix build errors

* ws: upgrade to tungstenite 0.16

* ws load test: don't panic on Close message; print shorter errors

* ws: fix socket worker bugs, add log statements

* ws: mio: wait for write availability if would block for ws messages

* Update README

* ws: mio: limit channels & queues; read 1 message only; other fixes

* ws: mio: send local responses each event; decrease channel size

* Update TODO

* ws: mio: limit ws send queue, fixing memory leak; limit pending messages

Also change some log output levels and run rustfmt

* Update TODO

* Update TODO
2021-12-16 16:09:36 +01:00
Joakim Frostegård
222fac0e09
Improve aquatic_ws glommio implementation, fixing memory leak (#37)
* ws: upgrade tungstenite and async-tungstenite to 0.16

* ws: use latest glommio

* ws: glommio: add config key connection_cleaning_interval

* ws: glommio: limit socket worker local channel size

Quick fix for memory leak

* ws: glommio: use prioritized task queue for sending responses

This is a start on trying to fix the large amount of responses
being dropped due to local response channel being full

* scripts/watch-threads.sh: don't highlight changes

* ws: glommio: await when sending responses from shared to local

* ws: glommio: limit ws message queue; add lots of ::log::warn for debug

* ws: glommio: add timeout to send_out_message, maybe pinpointing issue

* ws: glommio: clean up, tweak channel sizes; update TODO

* ws: glommio: set send timeout to 10s, add backpressure, accept drops

* ws: glommio: yield if needed in ConnectionReader backoff loop

* ws load test: add config key connection_creation_interval_ms

* ws load test: don't print "run connection" when opening connection

* ws load test: rename config num_connection to num_connections_per_worker

* ws load test config: improve order of code in file

* ws: glommio: info-level log for socket send timeout

* ws glommio: clean idle connections, improve cleaning code

* ws: glommio: make ConnectionWriter::send_error_response fallible; fmt

* ws: glommio: store JoinHandle in conn reference, cancel task on clean

* add scripts/heaptrack.sh

* Update TODO
2021-12-11 18:50:05 +01:00
Joakim Frostegård
f14ab8e351 Update TODO 2021-11-29 11:04:52 +01:00
Joakim Frostegård
adda2bd282 Update TODO 2021-11-28 13:13:15 +01:00
Joakim Frostegård
b9bc5a2aa4 udp: request worker: use ValidUntil::new_with_now 2021-11-27 18:12:19 +01:00
Joakim Frostegård
d565c6e046 udp: socket worker: only create access list cache once 2021-11-27 18:11:08 +01:00
Joakim Frostegård
deac3898ef Update TODO 2021-11-26 16:08:23 +01:00
Joakim Frostegård
2e3f7a4c9f Update TODO 2021-11-20 15:15:18 +01:00
Joakim Frostegård
59e95894b9 udp: statistics: show number of torrents and access list len 2021-11-19 12:04:16 +01:00
Joakim Frostegård
de52d35357 Update TODO 2021-11-19 02:45:48 +01:00
Joakim Frostegård
3d88689c77 Update TODO 2021-11-18 23:03:54 +01:00
Joakim Frostegård
99632d4be5 udp: implement torrent map cleaning for new, sharded torrent state 2021-11-18 22:42:37 +01:00
Joakim Frostegård
b5643aa7ab Update TODO 2021-11-18 22:42:37 +01:00
Joakim Frostegård
5440157a95 udp load test: use only one type of worker for better performance 2021-11-18 22:42:36 +01:00
Joakim Frostegård
2aa94d050b Update TODO 2021-11-18 22:42:36 +01:00
Joakim Frostegård
4addb0de49 Update TODO 2021-11-18 22:42:36 +01:00
Joakim Frostegård
4b07e007f3 udp: add network.only_ipv6 config flag 2021-11-18 22:42:36 +01:00
Joakim Frostegård
7b20942d0f Update TODO 2021-11-18 22:42:36 +01:00
Joakim Frostegård
f93db6a9f2 Update TODO 2021-11-12 11:31:24 +01:00
Joakim Frostegård
b4b84659a7 Update TODO 2021-11-09 12:14:50 +01:00
Joakim Frostegård
c90c82fb5c Update TODO 2021-11-09 11:13:48 +01:00
Joakim Frostegård
f86b8fb606 Update TODO 2021-11-03 00:13:53 +01:00
Joakim Frostegård
ed5e6322ac Update TODO 2021-11-02 23:55:04 +01:00
Joakim Frostegård
c265b6ae7f Update TODO 2021-11-02 21:09:32 +01:00
Joakim Frostegård
e332ac3052 TODO.md: update, including remove old entries 2021-11-02 17:23:40 +01:00
Joakim Frostegård
b62639f0d2 Update TODO 2021-11-02 16:19:38 +01:00
Joakim Frostegård
eb304059cc README: mention enabling CPU extensions 2021-11-02 16:13:50 +01:00
Joakim Frostegård
34ba70aee8 Update TODO 2021-11-02 12:19:11 +01:00
Joakim Frostegård
3e3acd5adf Update TODO 2021-11-02 11:57:12 +01:00
Joakim Frostegård
b2347ef3b0 Update TODO 2021-10-30 17:40:59 +02:00
Joakim Frostegård
819821edf0 Update TODO 2021-10-29 15:11:01 +02:00
Joakim Frostegård
4f055c7c6f Update TODO 2021-10-28 20:23:56 +02:00
Joakim Frostegård
af0761418e aquatic_http: improve ConnectionMeta field names and types 2021-10-28 19:30:04 +02:00
Joakim Frostegård
130377b8f4 aquatic_http: remove mio implementation 2021-10-28 01:48:32 +02:00
Joakim Frostegård
a935a3bbf0 Update TODO 2021-10-28 01:33:23 +02:00
Joakim Frostegård
e79a8c7e68 Update TODO 2021-10-27 21:23:54 +02:00
Joakim Frostegård
67e82ebad1 Update TODO 2021-10-27 20:51:38 +02:00
Joakim Frostegård
1a4e5750a3 aquatic_http: glommio: periodically remove closed connections 2021-10-27 13:19:02 +02:00
Joakim Frostegård
00e77e8655 Update TODO 2021-10-27 12:35:03 +02:00
Joakim Frostegård
92fc427665 Update TODO 2021-10-27 12:23:56 +02:00