15 lines
771 B
Rust
15 lines
771 B
Rust
//! The memory gate in front of the engine and a model-free soak of it: real axum router, real worker adapter, a
|
|
//! scripted engine whose memory-governor report the test controls. No GPU, no model, no child process.
|
|
//!
|
|
//! * a `reject` report closes the gate: `503 memory_pressure` with `Retry-After`, before the request reaches the
|
|
//! engine;
|
|
//! * `shed` still serves; a stale report never blocks; an engine-side refusal text maps to the same 503;
|
|
//! * the soak: hundreds of mixed requests (buffered, streamed, abandoned by the client, refused by the gate) while the
|
|
//! pressure level flips; threads, file descriptors and RSS must stay flat after warm-up and the engine must end idle.
|
|
|
|
#[path = "../common/mod.rs"]
|
|
mod common;
|
|
mod gate;
|
|
mod harness;
|
|
mod soak;
|