deploy slice A: engine hygiene — TCP_NODELAY + WS pings + trunk config (#24)

Co-authored-by: Aaron D. Lee <himself@adlee.work>
Co-committed-by: Aaron D. Lee <himself@adlee.work>
This commit was merged in pull request #24.
This commit is contained in:
2026-07-06 04:06:20 +00:00
committed by A.D.Lee
parent fae9fcc82a
commit 7e2ae6d2d2
19 changed files with 905 additions and 33 deletions

View File

@@ -29,3 +29,18 @@ default = []
# §6.5. A latency regression fails the build the same way a broken test
# does (ADR-0010).
sim-bench = []
[dev-dependencies]
# nodelay.rs (deploy slice A §5.1): drives the real trunk WS route through
# the production serve path over a real loopback socket. Test-only — the
# sim's own harness stays mpsc-pure.
rutster-trunk = { path = "../rutster-trunk" }
rutster-call-model = { path = "../rutster-call-model" }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "sync", "time", "net"] }
tokio-tungstenite = { workspace = true }
futures-util = { workspace = true }
# Option D for deploy-A §5.1: suppress the Linux loopback TCP_QUICKACK
# heuristic so the test can observe the Nagle/delayed-ACK stall. socket2
# is already in the lockfile transitively via tokio; this lifts only the
# direct dev edge for the sim-bench test. MIT OR Apache-2.0.
socket2 = { version = "0.6", features = ["all"] }