Locust shadow lets you create an on-demand traffic shadow based on production logs using Locust. Traffic patterns from production environment is replayed in a controlled manner, allowing for testing and analysis of application behavior under realistic load conditions.
-
Minute-Batches:
- Minutely traffic data extracted from production logs
- Named as
minute_0
,minute_1
, etc., for flexible start times
-
Locust-based Executor:
- Utilizes Locust for load generation
- Executes traffic patterns based on minute-batch data
-
Synchronization Mechanism:
- Manages distributed workers
- Potential use of Redis or other sync providers
[Production Logs] -> [Log Processor] -> [Minute-Batches]
|
v
[Redis/Syncer] <-> [Locust Master] <-> [Locust Workers]
|
v
[Target System]
(To be added: installation instructions, configuration details, and usage examples)
- Implement log processing and minute-batch generation
- Develop Locust-based executor for replaying traffic
- Implement synchronization mechanism for distributed workers
- Create configuration system for flexible deployment
- Develop monitoring and reporting features
(To be added: guidelines for contributing to the project)
This project is licensed under the Apache License, Version 2.0. See the LICENSE file for details.