EC2上のExpressのパフォーマンス検証 †AWS EC2上で Expressアプリ起動 でEC2に配備したアプリのパフォーマンスを検証してみた。
環境等 †Nodejs : v8.9.0 結果 †Spring Boot と殆ど変わらない。(物凄く速い時もある) 詳細 †◆express に 100ユーザが10回ずつアクセス(最速) Document Path: /book
Document Length: 637 bytes
Concurrency Level: 100
Time taken for tests: 6.594 seconds
Complete requests: 1000
Failed requests: 0
Total transferred: 846000 bytes
HTML transferred: 637000 bytes
Requests per second: 151.65 [#/sec] (mean)
Time per request: 659.394 [ms] (mean)
Time per request: 6.594 [ms] (mean, across all concurrent requests)
Transfer rate: 125.29 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 41 307 125.3 318 953
Processing: 81 314 59.2 329 428
Waiting: 81 313 59.3 329 427
Total: 122 621 153.9 651 1303
Percentage of the requests served within a certain time (ms)
50% 651
66% 660
75% 665
80% 670
90% 691
95% 712
98% 1086
99% 1136
100% 1303 (longest request)
|