listen: "127.0.0.1:8080"
upstreams:
- host: "127.0.0.1"
port: 9001
- host: "127.0.0.1"
port: 9002
timeouts:
connect_ms: 1000
read_ms: 15000
write_ms: 15000
total_ms: 30000
limits:
max_client_conns: 1000
max_conns_per_upstream: 100
logging:
level: "info"
uvicorn tests.echo_app:app --host 127.0.0.1 --port 9001 --workers 1
uvicorn tests.echo_app:app --host 127.0.0.1 --port 9002 --workers 1
curl -v http://127.0.0.1:8080/
curl -v -X POST http://127.0.0.1:8080/echo -d 'hello world'
wrk -t4 -c128 -d30s http://127.0.0.1:8080/
ab -n 5000 -c 200 http://127.0.0.1:8080/
vegeta attack -duration=30s -rate=500 | vegeta report
proxy/
main.py
config.py
proxy_server.py
client_handler.py
upstream_pool.py
timeouts.py
logger.py
metrics.py
utils/http.py
tests/
echo_app.py
load_scenarios.md
README.md