Skip to main content

Module performance_optimizer

Module performance_optimizer 

Source
Expand description

§Advanced Performance Optimizer

High-performance optimizations for achieving 100K+ events/second throughput with <10ms latency. Implements advanced batching, memory pooling, zero-copy operations, and parallel processing optimizations.

§Modules

  • config: Configuration structures for performance optimization
  • memory: Memory management and pooling
  • batching: Adaptive batching for throughput optimization
  • ml: Machine learning components for performance prediction
  • compression: Compression and bandwidth optimization
  • parallel: Parallel processing optimizations

§Performance Targets

  • Throughput: 100K+ events/second sustained
  • Latency: P99 <10ms for real-time processing
  • Memory: Efficient memory usage with pooling
  • CPU: Optimal CPU utilization with parallel processing

Re-exports§

pub use batching::AdaptiveBatcher;
pub use batching::BatchPerformancePoint;
pub use batching::BatchSizePredictor;
pub use batching::BatchingStats;
pub use config::BatchConfig;
pub use config::CompressionAlgorithm;
pub use config::CompressionConfig;
pub use config::EnhancedMLConfig;
pub use config::LoadBalancingStrategy;
pub use config::MemoryPoolConfig;
pub use config::ParallelConfig;
pub use config::PerformanceConfig;
pub use memory::AllocationStrategy;
pub use memory::MemoryHandle;
pub use memory::MemoryPool;
pub use memory::MemoryPoolStats;
pub use ml::ConfigParams;
pub use ml::LinearRegressionModel;
pub use ml::ModelStats;
pub use ml::PerformanceMetrics;
pub use ml::PerformancePredictor;

Modules§

batching
Adaptive batching for performance optimization
config
Performance optimization configuration
memory
Memory management and pooling for performance optimization
ml
Machine Learning Components for Performance Optimization

Structs§

AutoTuner
Auto-tuner for performance parameters
ProcessingResult
Processing result for batch operations
ProcessingStats
Processing statistics
TuningDecision
Tuning decision for performance optimization
ZeroCopyEvent
Zero-copy event wrapper for efficient processing

Enums§

AggregationFunction
Aggregation function for batch processing
ProcessingStatus
Processing status