Skip to main content

Module pool

Module pool 

Source
Expand description

Pools of detectors keyed by tenant / stream id.

A single shared crate::ThresholdedForest cannot safely serve traffic from multiple tenants — tenant A’s baseline bleeds into tenant B’s threshold and vice versa. TenantForestPool keeps one detector per tenant with an LRU eviction policy so the total memory footprint stays bounded even with a long tail of one-off tenants.

Re-exports§

pub use tenant_pool::ReadinessSummary;
pub use tenant_pool::TenantForestPool;

Modules§

tenant_pool
Per-tenant pool of ThresholdedForest detectors.