Replica-Monitor is a tool designed to automate the setup of a master-slave MySQL replication and a master-python-mysql-replication. With just a single command, it will create numerous tables and columns, populate them with random data, and then compare the metrics between the two replication structures. Finally, it provides a comprehensive CSV report of the results.
- Automated setup of Master-Slave replication.
- Automated setup of Master-python-mysql-replication.
- Creation of multiple tables and columns.
- Populating the database with random data.
- Metrics comparison between the two replication structures.
- Generation of a CSV report.
Before running Replica-Monitor, ensure you have the following installed:
- Docker, Docker Compose
- Python
Clone this repository:
git clone https://github.com/soulee-dev/replica-monitor.git
cd replica-monitor
pip install -r requiriements.txt
To run the full setup, metrics comparison, and report generation, simply type:
make
To view a sample of the generated CSV report, click here.
If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcomed.
This project is licensed under the MIT License - see the LICENSE.md file for details.