Skip to main content

anomstream_core/pool/
mod.rs

1//! Pools of detectors keyed by tenant / stream id.
2//!
3//! A single shared [`crate::ThresholdedForest`] cannot safely serve
4//! traffic from multiple tenants — tenant A's baseline bleeds into
5//! tenant B's threshold and vice versa. [`TenantForestPool`] keeps
6//! one detector per tenant with an LRU eviction policy so the total
7//! memory footprint stays bounded even with a long tail of one-off
8//! tenants.
9
10pub mod tenant_pool;
11
12pub use tenant_pool::{ReadinessSummary, TenantForestPool};