https://github.com/blue32a-sandbox/apache-bench
Hands on with ApacheBench
https://github.com/blue32a-sandbox/apache-bench
apache-bench
Last synced: 3 months ago
JSON representation
Hands on with ApacheBench
- Host: GitHub
- URL: https://github.com/blue32a-sandbox/apache-bench
- Owner: blue32a-sandbox
- Created: 2022-09-29T05:19:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-27T04:28:59.000Z (over 2 years ago)
- Last Synced: 2025-01-19T15:38:36.702Z (5 months ago)
- Topics: apache-bench
- Language: HTML
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hands on with ApacheBench
[ab - Apache HTTP server benchmarking tool](https://httpd.apache.org/docs/2.4/programs/ab.html)
## ベンチマーク
### コンテナ起動
```
docker compose run apachebench
```### ベンチマーク実行
```
ab -n <リクエスト数> -c <同時リクエスト数> [http[s]://]hostname[:port]/path
``````
ab -n 100 -c 3 https://example.com/hoge > /home/reports/ab.log
```## Webサーバー
```
docker compose up web
```URL: http://localhost:8080/
コンテナ内から: http://web/