https://github.com/davidjeddy/high_load_cms_for_less_than_the_price_of_lunch
https://github.com/davidjeddy/high_load_cms_for_less_than_the_price_of_lunch
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/davidjeddy/high_load_cms_for_less_than_the_price_of_lunch
- Owner: davidjeddy
- Created: 2018-10-31T04:27:45.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T04:50:31.000Z (over 6 years ago)
- Last Synced: 2025-01-16T11:33:13.643Z (5 months ago)
- Language: HTML
- Size: 3.89 MB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Usage
## Pre-req's:
- [AWS Account](http://aws.amazon.com)
- [Ansible 2.5.1](https://www.ansible.com/) - Configur machine
- [Gatling.io 3.0](https://gatling.io/) - Load Test Tool
- [Terraform 0.11.8](https://www.terraform.io/) - Provision machine## Usage
### Configurations / Setup
export PATH=$PATH:/path/to/gatling/bin/
cd ~/configs/CACHE_OPTION
terraform init
terraform plan -out tf.plan### Execution
terraform apply -auto-approve tf.plan
### Test
cd /path/to/root/of/this/projectJAVA_OPTS="-Dtarget=TERRAFORM_OUTPUT_IP" \
gatling.sh \
-sf ./testing/load/gatling \
-rf ./testing/load/gatling/results/CACHE_OPTION/ \
-s HighLoadCMSExp:
JAVA_OPTS="-Dtarget=35.170.196.248" ./gatling.sh -sf ./testing/load/gatling -rf ./testing/load/gatling/results/nginx_cache -s HighLoadCMS -rd 'nginx cache test 2'
### Tear down
terraform destroy -auto-approve
## Notes
wordpress cache plugin used is [WP Fastest Cache](https://wordpress.org/plugins/wp-fastest-cache/) with the following settings.[IMG HERE]
## Report Reading
[Gatling.io](https://gatling.io/docs/current/general/reports/) has an explainatin of how to interprest the results output.