https://github.com/whoabhisheksah/haproxy-hands-on
https://github.com/whoabhisheksah/haproxy-hands-on
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/whoabhisheksah/haproxy-hands-on
- Owner: whoAbhishekSah
- Created: 2021-08-03T05:04:59.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-17T10:17:02.000Z (over 3 years ago)
- Last Synced: 2025-01-21T15:28:42.507Z (5 months ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## How to run
1. install haproxy (`brew install haproxy`)
2. start siren servers in docker (`docker-compose up`)
3. Start HAProxy (`haproxy -f ./haproxy.cfg`)
4. Run a vegeta attack for 30sec : (install vegeta `brew install vegeta`)
- `echo "GET http://localhost:3000/ping" | vegeta attack -duration 30s | vegeta report`
5. Check HAProxy Stats
`http://localhost:3000/haproxy?stats`