2026-04-17 10:33:37 +03:00
|
|
|
//! Backpressure-driven fairness control for ME reader routing.
|
|
|
|
|
//!
|
|
|
|
|
//! This module keeps fairness decisions worker-local:
|
|
|
|
|
//! each reader loop owns one scheduler instance and mutates it without locks.
|
|
|
|
|
|
|
|
|
|
mod model;
|
|
|
|
|
mod pressure;
|
|
|
|
|
mod scheduler;
|
|
|
|
|
|
2026-04-17 11:06:42 +03:00
|
|
|
pub(crate) use model::PressureState;
|
|
|
|
|
pub(crate) use model::{AdmissionDecision, DispatchAction, DispatchFeedback, SchedulerDecision};
|
2026-04-17 10:33:37 +03:00
|
|
|
pub(crate) use scheduler::{WorkerFairnessConfig, WorkerFairnessSnapshot, WorkerFairnessState};
|