aquatic/scripts
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
..
criterion move RUSTFLAGS gen to own file instead of setting in each script 2020-08-12 00:28:03 +02:00
bench-udp-handlers.sh move RUSTFLAGS gen to own file instead of setting in each script 2020-08-12 00:28:03 +02:00
build-aquatic.sh add scripts/build-aquatic.sh 2020-08-13 00:15:43 +02:00
env-native-cpu-without-avx-512 move RUSTFLAGS gen to own file instead of setting in each script 2020-08-12 00:28:03 +02:00
flamegraph-aquatic-udp-on-linux.sh rename aquatic to aquatic_udp, same for bench and load test crates 2020-05-11 16:55:46 +02:00
gen-tls.sh WIP: ws: split into features, other fixes 2021-11-05 13:25:19 +01:00
heaptrack.sh Improve aquatic_ws glommio implementation, fixing memory leak (#37) 2021-12-11 18:50:05 +01:00
run-aquatic-http.sh move RUSTFLAGS gen to own file instead of setting in each script 2020-08-12 00:28:03 +02:00
run-aquatic-udp.sh udp: remove io_uring version, it is slower than mio version 2021-11-18 22:42:37 +01:00
run-aquatic-ws.sh scripts: improve run-aquatic-udp.sh and run-aquatic-ws.sh 2021-11-07 13:30:42 +01:00
run-aquatic.sh add aquatic crate with master executable, refactor cli_helpers 2020-08-13 00:13:01 +02:00
run-load-test-http.sh move RUSTFLAGS gen to own file instead of setting in each script 2020-08-12 00:28:03 +02:00
run-load-test-udp.sh move RUSTFLAGS gen to own file instead of setting in each script 2020-08-12 00:28:03 +02:00
run-load-test-ws.sh move RUSTFLAGS gen to own file instead of setting in each script 2020-08-12 00:28:03 +02:00
setup-bench-on-debian.sh setup-bench-on-debian.sh: roll nginx into other apt-get line 2020-06-30 00:04:01 +02:00
test-transfers.sh Add GitHub Docker action for testing UDP and HTTP file transfers 2020-08-17 00:49:12 +02:00
test.sh Don't use target-cpu native etc in scripts/test.sh 2020-08-11 23:04:28 +02:00
watch-threads.sh Improve aquatic_ws glommio implementation, fixing memory leak (#37) 2021-12-11 18:50:05 +01:00