Expand description
Health monitoring and circuit breaker for the plugin pool.
This module provides:
- Circuit breaker pattern for automatic degradation under stress
- Health status reporting for monitoring
- Dead server detection for automatic recovery
Structs§
- Circuit
Breaker - Circuit breaker for managing pool health and automatic recovery. Tracks failure rates and response times to detect GC pressure.
- Health
Status - Health status information from the pool server
- Result
Ring Buffer - Lock-free ring buffer for tracking recent results (sliding window)
Enums§
- Circuit
State - Circuit breaker state for automatic degradation under stress
- Dead
Server Indicator - Indicators that the pool server is dead or unreachable. Using an enum instead of string matching for type safety and documentation.
- Process
Status - Process status for health check decisions