Open koudaiii opened 9 years ago
worker_processes 1;
events {
worker_connections 1024;
}
http {
log_format ltsv '$request_time\t'
'[$status]¥t'
'$body_bytes_sent\t'
'$request\t'
'"$http_user_agent"\t'
'"$http_x_forwarded_for"\t'
'$time_iso8601\t';
access_log /var/log/nginx/access.log ltsv;
upstream app {
server 127.0.0.1:8080;
}
server {
location / {
proxy_pass http://app;
}
}
}
127.0.0.1 - - [10/Sep/2015:04:12:16 +0000] "GET / HTTP/1.1" 0.005 200 2328 "http://localhost/login" "ISUCON4 Benchmarker" "127.1.0.105"
127.0.0.1 - - [10/Sep/2015:04:12:16 +0000] "GET /stylesheets/isucon-bank.css HTTP/1.1" 0.003 200 660 "-" "ISUCON4 Benchmarker" "127.1.0.105"
127.0.0.1 - - [10/Sep/2015:04:12:16 +0000] "GET /stylesheets/bootflat.min.css HTTP/1.1" 0.003 200 53197 "-" "ISUCON4 Benchmarker" "127.1.0.105"
127.0.0.1 - - [10/Sep/2015:04:12:16 +0000] "GET /images/isucon-bank.png HTTP/1.1" 0.004 200 16456 "-" "ISUCON4 Benchmarker" "127.1.0.105"
127.0.0.1 - - [10/Sep/2015:04:12:16 +0000] "GET /stylesheets/bootstrap.min.css HTTP/1.1" 0.004 200 109518 "-" "ISUCON4 Benchmarker" "127.1.0.105"
127.0.0.1 - - [10/Sep/2015:04:12:10 +0000] "POST /login HTTP/1.1" 0.043 302 0 "-" "ISUCON4 Benchmarker" "127.1.0.15"
127.0.0.1 - - [10/Sep/2015:04:12:10 +0000] "GET /mypage HTTP/1.1" 0.097 200 1717 "http://localhost/login" "ISUCON4 Benchmarker" "127.1.0.15"
127.0.0.1 - - [10/Sep/2015:04:12:40 +0000] "GET /report HTTP/1.1" 18.632 200 32072 "-" "ISUCON4 Benchmarker" "127.1.0.164"
$ ./benchmarker b --workload 4
04:21:12 type:info message:!!! DEBUG MODE !!! DEBUGE MODE !!!
04:21:12 type:info message:launch benchmarker
04:21:12 type:warning message:Result not sent to server because API key is not set
04:21:12 type:info message:init environment
04:21:17 type:info message:run benchmark workload: 4
04:22:17 type:info message:finish benchmark workload: 4
04:22:22 type:info message:check banned ips and locked users report
04:22:41 type:report count:banned ips value:0
04:22:41 type:report count:locked users value:2593
04:22:41 type:info message:Result not sent to server because API key is not set
04:22:41 type:score success:11200 fail:0 score:2421
[isucon@isucon4-qualifier-dtan4 ~]$ ./benchmarker b --workload 4
05:01:13 type:info message:!!! DEBUG MODE !!! DEBUGE MODE !!!
05:01:13 type:info message:launch benchmarker
05:01:13 type:warning message:Result not sent to server because API key is not set
05:01:13 type:info message:init environment
05:01:18 type:info message:run benchmark workload: 4
05:02:18 type:info message:finish benchmark workload: 4
05:02:23 type:info message:check banned ips and locked users report
05:02:42 type:report count:banned ips value:0
05:02:42 type:report count:locked users value:2593
05:02:42 type:info message:Result not sent to server because API key is not set
05:02:42 type:score success:11390 fail:0 score:2461
[isucon@isucon4-qualifier-dtan4 ~]$ cat /etc/nginx/nginx.conf
worker_processes 4;
events {
worker_connections 1024;
}
http {
log_format ltsv '$request_time\t'
'[$status]¥t'
'$body_bytes_sent\t'
'$request\t'
'"$http_user_agent"\t'
'"$http_x_forwarded_for"\t'
'$time_iso8601\t';
access_log /var/log/nginx/access.log ltsv;
upstream app {
server 127.0.0.1:8080;
}
server {
location / {
proxy_pass http://app;
}
}
}
[isucon@isucon4-qualifier-dtan4 ~]$