This is a Streamlit-based application for visualizing, simulating, and tuning autoscaling strategies using the VASIM Autoscaling Simulator Toolkit. The app allows users to interact with various algorithms, tune parameters, visualize workload performance, and manage tuning histories.
- Workload Visualization: Visualize CPU usage over time from selected CSV files.
- Simulation Run: Run autoscaling simulations with adjustable parameters like decision frequency and core count.
- Simulation Tuning: Tune parameters using grid or random strategies to optimize performance (WIP).
- Simulation History: View previous simulation tuning results and visualize Pareto frontiers (WIP).
- Python 3.7 or higher
- Streamlit
- Pandas
- Matplotlib
- Additional dependencies:
recommender
ClusterStateConfig
simulator
- (Ensure these modules are included in your project)
-
Clone the repository:
git clone https://github.com/microsoft/vasim.git cd vasim
-
Install dependencies
pip install . pip install -r examples/streamlit/requirements.txt
-
Run. It will start your web app and output link to access via browser
(e.g. Local URL: http://localhost:8501)
streamlit run examples/streamlit/web_demo.py