{"id":13686524,"url":"https://github.com/TykTechnologies/tyk-ansible-performance-testing","last_synced_at":"2025-05-01T09:31:59.392Z","repository":{"id":40463669,"uuid":"442847744","full_name":"TykTechnologies/tyk-ansible-performance-testing","owner":"TykTechnologies","description":"Ansible playbook to run performance tests for the Tyk Gateway, as well as Kong Gateway, and Apollo Server","archived":false,"fork":false,"pushed_at":"2023-05-10T20:21:37.000Z","size":1218,"stargazers_count":42,"open_issues_count":2,"forks_count":3,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-08-03T15:05:25.957Z","etag":null,"topics":["ansible","apollo","apollo-server","kong","kong-gateway","performance-analysis","performance-testing","tyk","tyk-gateway"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TykTechnologies.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-29T17:45:35.000Z","updated_at":"2024-02-28T05:19:57.000Z","dependencies_parsed_at":"2023-02-02T20:01:27.660Z","dependency_job_id":null,"html_url":"https://github.com/TykTechnologies/tyk-ansible-performance-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TykTechnologies%2Ftyk-ansible-performance-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TykTechnologies%2Ftyk-ansible-performance-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TykTechnologies%2Ftyk-ansible-performance-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TykTechnologies%2Ftyk-ansible-performance-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TykTechnologies","download_url":"https://codeload.github.com/TykTechnologies/tyk-ansible-performance-testing/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224250218,"owners_count":17280522,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","apollo","apollo-server","kong","kong-gateway","performance-analysis","performance-testing","tyk","tyk-gateway"],"created_at":"2024-08-02T15:00:34.412Z","updated_at":"2024-11-12T09:30:58.935Z","avatar_url":"https://github.com/TykTechnologies.png","language":"Shell","funding_links":[],"categories":["ansible"],"sub_categories":[],"readme":"# Performance Testing Tyk with Ansible\n\n## Requirements\n1. [Ansible](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html).\n\n## Getting Started\n1. Clone repo and navigate to the repo directory.\n\n2. Run initalization script to initialize environment `sh scripts/init.sh`.\n\n3. Create 5 different servers to conduct the testing:\n  - Upstream: expose port 8000 (ex. c5.2xlarge)\n  - Load Generator (ex. c5.2xlarge)\n  - Tyk: expose port 8080 (ex. c5.2xlarge)\n  - Kong: expose port 8000 (ex. c5.2xlarge)\n  - Apollo: expose port 4000 (ex. c5.2xlarge)\n\n4. Modify `hosts.yml` file to update ssh variables to your server(s). You can learn more about the hosts file [here](https://docs.ansible.com/ansible/latest/user_guide/intro_inventory.html).\n\n5. Run `sudo ansible-playbook playbook.yml -t install -t standup -t test` to run performance tests. `sudo` is used to allow ansible to create the performance testing results files on your local machine.\n\n6. View output of performance tests under `./benchmarks/`.\n\n7. Run `ansible-playbook playbook.yml -t cleanup` to cleanup files and turn off services on the machines.\n\n## Documentation\nPlease check the `/docs` folder for more information about the repo.\n\n- [Tests](/docs/tests.md): Explains the different REST and GraphQL tests available.\n- [Analysis](/docs/analyze.md): Explains how to use the `analyze.r` script to generate comparison graphs and csv based on the tests ran.\n- [AWS](/docs/aws.md): Explains how to use the `aws.playbook.yml` to standup the resources necessary to run the tests in AWS.\n- [GCP](/docs/gcp.md): Explains how to use the `gcp.playbook.yml` to standup the resources necessary to run the tests in GCP.\n- [Azure](/docs/azure.md): Explains how to use the `azure.playbook.yml` to standup the resources necessary to run the tests in Azure.\n- [Variables](/docs/variables.md): Explains the different variables used in this repo.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTykTechnologies%2Ftyk-ansible-performance-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTykTechnologies%2Ftyk-ansible-performance-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTykTechnologies%2Ftyk-ansible-performance-testing/lists"}