Skip to content

Commit

Permalink
increase nginx worker process 422406
Browse files Browse the repository at this point in the history
  • Loading branch information
mickamy committed Jan 10, 2024
1 parent 49a86da commit 68184b8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion admin/config/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
user www-data;
worker_processes auto;
worker_processes 8;
pid /run/nginx.pid;

events {
Expand Down
15 changes: 15 additions & 0 deletions note.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,18 @@ docker exec -i ishocon2-bench-1 sh -c "./benchmark --ip app:443 --workload 7"
2024/01/10 12:12:46 投票者の感心がなくなりました
2024/01/10 12:12:46 {"score": 410681, "success": 280665, "failure": 0}
```

increase nginx worker process 422406

```
❯ make bench
docker exec -i ishocon2-bench-1 sh -c "./benchmark --ip app:443 --workload 7"
2024/01/10 12:19:37 Start GET /initialize
2024/01/10 12:19:37 期日前投票を開始します
2024/01/10 12:19:38 期日前投票が終了しました
2024/01/10 12:19:38 投票を開始します Workload: 7
2024/01/10 12:20:23 投票が終了しました
2024/01/10 12:20:23 投票者が結果を確認しています
2024/01/10 12:20:38 投票者の感心がなくなりました
2024/01/10 12:20:38 {"score": 422406, "success": 294902, "failure": 0}
```

0 comments on commit 68184b8

Please # to comment.