Expand description
Routing superset — load-balancing strategies, circuit breakers, weighted fallback.
Pure types and selection logic live here (no I/O). Adapters such as
routing-phenotype-router and the legacy omniroute-adapter wire these
primitives to real providers.
Structs§
- Circuit
Breaker - Per-target circuit breaker with lazy recovery on read.
- Circuit
Breaker Config - Thresholds controlling circuit-breaker transitions.
- Fallback
Entry - One entry in an ordered fallback chain.
- Routing
Pool State - Mutable routing pool state (cursors, counters, per-target health).
- Routing
Selector - Pure selection helpers — deterministic given inputs and mutable state.
- Routing
Superset - Bundled routing superset: pool load-balancing with fallback chain and health tracking.
- Routing
Target - A routable engine/model target in a load-balanced pool.
- Superset
Routing Decision - A routing decision enriched with the chosen target id.
- Target
Health - Health and load counters for a single target.
Enums§
- Circuit
State - Circuit breaker state for a single target.
- Routing
Strategy - Load-balancing strategy over a pool of candidate targets.