mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
* 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
35 lines
1,006 B
TOML
35 lines
1,006 B
TOML
[package]
|
|
name = "aquatic_ws_load_test"
|
|
version = "0.1.0"
|
|
authors = ["Joakim Frostegård <joakim.frostegard@gmail.com>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/greatest-ape/aquatic"
|
|
|
|
[[bin]]
|
|
name = "aquatic_ws_load_test"
|
|
|
|
[features]
|
|
cpu-pinning = ["aquatic_common/cpu-pinning"]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
async-tungstenite = "0.16"
|
|
aquatic_cli_helpers = "0.1.0"
|
|
aquatic_common = "0.1.0"
|
|
aquatic_ws_protocol = "0.1.0"
|
|
futures = "0.3"
|
|
futures-rustls = "0.22"
|
|
glommio = { git = "https://github.com/DataDog/glommio.git", rev = "2efe2f2a08f54394a435b674e8e0125057cbff03" }
|
|
hashbrown = { version = "0.11", features = ["serde"] }
|
|
mimalloc = { version = "0.1", default-features = false }
|
|
rand = { version = "0.8", features = ["small_rng"] }
|
|
rand_distr = "0.4"
|
|
rustls = { version = "0.20", features = ["dangerous_configuration"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tungstenite = "0.16"
|
|
|
|
[dev-dependencies]
|
|
quickcheck = "1"
|
|
quickcheck_macros = "1"
|