Skip to content

v0.2.1: feat: Add distributed load testing with synchronized coordination

Choose a tag to compare

@github-actions github-actions released this 23 Jul 12:28
· 6 commits to main since this release
1020b2c
  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.