Last active
November 3, 2017 01:30
-
-
Save volonterx/dbd2ae6c3501fd5132c62f484463034e to your computer and use it in GitHub Desktop.
Unicorn vs Puma performance comparison (via ab)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ab -kl -n 100 -c 10 https:... | |
Server: 2 CPU, 4Gb RAM, SSD, Ubuntu 12.04 LTS, Ruby 2.2.4 | |
################################################# unicorn 4.7 (Ruby 1.9.3-p362), 2 workers, pool 25 | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 31 93.6 0 332 | |
Processing: 1521 5008 956.9 4806 6889 | |
Waiting: 1327 4792 957.4 4570 6678 | |
Total: 1810 5039 930.5 4807 7088 | |
Percentage of the requests served within a certain time (ms) | |
50% 4807 | |
66% 5374 | |
75% 5666 | |
80% 5899 | |
90% 6501 | |
95% 6696 | |
98% 6889 | |
99% 7088 | |
100% 7088 (longest request) | |
################################################# unicorn 5.3, 1 worker, pool 25 | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 31 92.4 0 338 | |
Processing: 1294 8470 1500.6 8601 11080 | |
Waiting: 1074 8251 1504.6 8388 10890 | |
Total: 1570 8500 1442.3 8601 11080 | |
Percentage of the requests served within a certain time (ms) | |
50% 8601 | |
66% 8793 | |
75% 8879 | |
80% 8905 | |
90% 10086 | |
95% 10793 | |
98% 11020 | |
99% 11080 | |
100% 11080 (longest request) | |
################################################# unicorn 5.3, 2 workers, pool 25 | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 31 93.0 0 327 | |
Processing: 1355 4602 644.5 4634 5631 | |
Waiting: 1167 4399 643.3 4427 5433 | |
Total: 1632 4632 598.0 4634 5828 | |
Percentage of the requests served within a certain time (ms) | |
50% 4634 | |
66% 4845 | |
75% 4941 | |
80% 5013 | |
90% 5271 | |
95% 5484 | |
98% 5631 | |
99% 5828 | |
100% 5828 (longest request) | |
################################################# unicorn 5.3, 2 workers, pool 5 | |
50% 5622 | |
66% 6020 | |
75% 6402 | |
80% 6765 | |
90% 8939 | |
95% 11148 | |
98% 11452 | |
99% 11744 | |
100% 11744 (longest request) | |
################################################# unicorn 5.3, 2 workers, pool 10 | |
50% 5551 | |
66% 5988 | |
75% 6200 | |
80% 6331 | |
90% 6734 | |
95% 6966 | |
98% 7374 | |
99% 8183 | |
100% 8183 (longest request) | |
################################################# unicorn 5.3, 3 workers, pool 25 | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 32 95.6 0 330 | |
Processing: 1985 5327 1006.9 5450 8388 | |
Waiting: 1791 5118 1006.0 5236 8170 | |
Total: 2280 5358 1016.7 5465 8718 | |
Percentage of the requests served within a certain time (ms) | |
50% 5465 | |
66% 5795 | |
75% 5988 | |
80% 6085 | |
90% 6420 | |
95% 6723 | |
98% 7968 | |
99% 8718 | |
100% 8718 (longest request) | |
################################################# unicorn 5.3, 4 workers, pool 25 | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 33 99.7 0 350 | |
Processing: 2400 5810 1149.4 5883 8557 | |
Waiting: 2190 5590 1149.2 5656 8329 | |
Total: 2711 5843 1121.8 5895 8557 | |
Percentage of the requests served within a certain time (ms) | |
50% 5895 | |
66% 6316 | |
75% 6650 | |
80% 6747 | |
90% 7093 | |
95% 7948 | |
98% 8379 | |
99% 8557 | |
100% 8557 (longest request) | |
################################################# puma3.9, 2 workers 0:10, pool 25 | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 31 92.5 0 332 | |
Processing: 1258 5254 2894.8 5061 12464 | |
Waiting: 1060 5047 2893.8 4851 12263 | |
Total: 1258 5285 2891.5 5090 12464 | |
Percentage of the requests served within a certain time (ms) | |
50% 5090 | |
66% 6154 | |
75% 6852 | |
80% 7681 | |
90% 10099 | |
95% 11007 | |
98% 11935 | |
99% 12464 | |
100% 12464 (longest request) | |
################################################# puma3.9, 2 workers 0:20, pool 40 | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 32 97.0 0 343 | |
Processing: 1534 5232 1745.1 5381 9147 | |
Waiting: 1332 5021 1743.9 5167 8930 | |
Total: 1827 5264 1738.7 5381 9147 | |
Percentage of the requests served within a certain time (ms) | |
50% 5381 | |
66% 6194 | |
75% 6442 | |
80% 6920 | |
90% 7555 | |
95% 7922 | |
98% 9023 | |
99% 9147 | |
100% 9147 (longest request) | |
################################################# puma3.9, 2 workers 0:30, pool 70 | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 32 96.6 0 361 | |
Processing: 1206 5338 2464.3 5632 9989 | |
Waiting: 979 5108 2460.5 5405 9762 | |
Total: 1206 5370 2471.4 5632 10092 | |
Percentage of the requests served within a certain time (ms) | |
50% 5632 | |
66% 6776 | |
75% 7570 | |
80% 7885 | |
90% 8685 | |
95% 9129 | |
98% 9989 | |
99% 10092 | |
100% 10092 (longest request) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment