Rate Limiting

This commit is contained in:
2026-04-25 13:50:16 +03:00
parent a8c3f1b887
commit 798e532dd7
2 changed files with 19 additions and 4 deletions

View File

@@ -181,6 +181,9 @@ wrk-search: ## Нагрузочный тест поиска (wrk2)
-H "Authorization: Bearer $$TOKEN" \
http://localhost:8080/v1/search?type=event\&q=test
curl-health:
for i in {1..120}; do curl -k -s -o /dev/null -w "%{http_code}\n" -H "Host: api.eventhub.local" https://localhost/health; done
wrk-health: ## Нагрузочный тест health (wrk2)
wrk -t4 -c100 -d30s -t100 \
-H "Host: api.eventhub.local" \