Module reliability

Module reliability 

Source
Expand description

Production Reliability Module

This module provides enterprise-grade reliability features including:

  • Advanced error recovery with retry policies
  • Data integrity verification and corruption detection
  • Comprehensive monitoring and health checks
  • Circuit breakers and fault tolerance
  • Backup and restore capabilities

Re-exports§

pub use error_recovery::ErrorRecovery;
pub use error_recovery::RetryPolicy;
pub use error_recovery::ExponentialBackoffConfig;
pub use error_recovery::CircuitBreakerPolicy;
pub use error_recovery::RetryStrategy;
pub use error_recovery::RecoveryResult;
pub use error_recovery::RecoveryError;
pub use error_recovery::RecoveryConfig;
pub use error_recovery::RecoveryStats;
pub use error_recovery::CircuitBreakerState;
pub use error_recovery::CircuitBreakerStatus;
pub use error_recovery::ErrorType;
pub use error_recovery::LinearBackoffConfig;
pub use error_recovery::FixedDelayConfig;
pub use data_integrity::DataIntegrity;
pub use data_integrity::ChecksumVerifier;
pub use data_integrity::VersionVerifier;
pub use data_integrity::CorruptionDetector;
pub use data_integrity::IntegrityResult;
pub use data_integrity::IntegrityError;
pub use data_integrity::ChecksumAlgorithm;
pub use data_integrity::DataMetadata;
pub use data_integrity::DataFormat;
pub use data_integrity::IntegrityStats;
pub use monitoring::ReliabilityMonitor;
pub use monitoring::MetricsCollector;
pub use monitoring::AlertManager;
pub use monitoring::HealthReporter;
pub use monitoring::MonitorConfig;
pub use monitoring::AlertConfig;
pub use monitoring::Metric;
pub use monitoring::TimeRange;
pub use monitoring::AggregationType;
pub use monitoring::AggregatedMetric;
pub use monitoring::AlertRule;
pub use monitoring::AlertCondition;
pub use monitoring::ComparisonOperator;
pub use monitoring::AlertSeverity;
pub use monitoring::Alert;
pub use monitoring::AlertStats;
pub use monitoring::MonitoringStats;
pub use monitoring::PerformanceConfig;
pub use monitoring::ResourceConfig;
pub use monitoring::ExtendedMonitorConfig;
pub use health_checks::HealthChecker;
pub use health_checks::HealthStatus;
pub use health_checks::HealthCheck;
pub use health_checks::SystemHealth;
pub use health_checks::HealthCheckResult;
pub use health_checks::HealthError;
pub use health_checks::HealthConfig;
pub use circuit_breaker::CircuitBreaker;
pub use circuit_breaker::CircuitState;
pub use circuit_breaker::BreakerConfig;
pub use circuit_breaker::BreakerError;
pub use backup_restore::BackupManager;
pub use backup_restore::RestoreManager;
pub use backup_restore::BackupStrategy;
pub use backup_restore::RestoreStrategy;
pub use backup_restore::BackupResult;
pub use backup_restore::RestoreResult;
pub use backup_restore::BackupError;

Modules§

backup_restore
Backup and Restore System
circuit_breaker
Circuit Breaker System
data_integrity
Data Integrity Module
error_recovery
Error Recovery Module
health_checks
Health Checks System
monitoring
Monitoring System

Structs§

ReliabilityConfig
Configuration for the reliability manager
ReliabilityManager
Main reliability manager that coordinates all reliability features

Enums§

ReliabilityError
Error types for reliability operations