v0.2.1: feat: Add distributed load testing with synchronized coordination
Compare
Sorry, something went wrong.
No results found
Implements comprehensive distributed load testing capabilities with coordinator-worker
architecture:
**Core Features:**
- Distributed coordinator and worker modes with WebSocket communication
- Real-time worker discovery, registration, and heartbeat monitoring
- Advanced load distribution algorithms (Round Robin, Weighted, Load-based, Custom)
- Distributed metrics aggregation across multiple workers
- Fault tolerance with automatic worker failure detection and load rebalancing
- Synchronized test execution with precise timing coordination
**CLI Enhancements:**
- Added --coordinator and --worker flags for distributed modes
- Enhanced CLI with coordinator port and max workers configuration
- Backward compatible with existing single-node functionality
**Architecture:**
- WebSocket-based real-time communication protocol
- Thread-safe distributed stats collection and aggregation
- Configurable synchronization with timeout handling
- Connection retry logic with exponential backoff
- Comprehensive integration test coverage
**Technical Implementation:**
- Extended WebSocket message types for coordination and synchronization
- Arc<RwLock<T>> patterns for safe concurrent access
- Tokio async runtime for high-performance networking
- Modular architecture supporting future extensibility
This enables horizontal scaling of load tests across multiple machines while maintaining
precise coordination and comprehensive monitoring.