{"id":5943,"date":"2020-09-08T04:48:02","date_gmt":"2020-09-07T19:48:02","guid":{"rendered":"http:\/\/hack.gpl.jp\/?p=5943"},"modified":"2020-09-08T04:48:02","modified_gmt":"2020-09-07T19:48:02","slug":"post-5943","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2020\/09\/08\/post-5943.html","title":{"rendered":"\u30b9\u30de\u30db\u30b5\u30fc\u30d0\u306e\u69cb\u6210\u3092NGINX+php-fpm+mariadb\u306e\u69cb\u6210\u306b\u3057\u3066WordPress\u3092\u52d5\u304b\u3057\u3066\u901f\u5ea6\u3092\u8a08\u6e2c\u3057\u3066\u304a\u3044\u305f"},"content":{"rendered":"\n

NGINX\u3068php-fpm\u69cb\u6210\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3044\u3064\u3082\u306e\u8a08\u6e2c\u30b5\u30a4\u30c8<\/a>\u3067\u3059\u3002<\/p>\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

\u591c\u9593\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u4e00\u756a\u7a7a\u3044\u3066\u3044\u308b\u6642\u306a\u3093\u3067\u3001\u901f\u3044\u611f\u3058\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n\n\n\n

GCP\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u304b\u3089\u306e\u3001apache ab \u306f\u4ee5\u4e0b\u3002182\/sec\u3000\u301c\uff01\u901f\u3063\u300078\u79d2\u304b\u304b\u3063\u3066\u3044\u305f\u30c6\u30b9\u30c8\u304c\uff15\uff0e\uff15\u79d2\u3002\u3042\u3001\u3053\u308cWordPress\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u52b9\u304b\u305b\u308b\u524d\u3067\u3057\u305f\u306d\u3002apache\u69cb\u6210\u3067\u3082\u540c\u3058\u6761\u4ef6\u3067\u30b5\u30a4\u30c9\u8a08\u6e2c\u3057\u3066\u304a\u304b\u306a\u3044\u3068\u3002<\/p>\n\n\n\n

$ ab -n 1000 -c 100 http:\/\/jh.gpl.jp\/\n\uff1a\uff1a\nServer Software:        nginx\nServer Hostname:        jh.gpl.jp\nServer Port:            80\n\nDocument Path:          \/\nDocument Length:        15997 bytes\n\nConcurrency Level:      100\nTime taken for tests:   5.479 seconds\nComplete requests:      1000\nFailed requests:        0\nTotal transferred:      16202000 bytes\nHTML transferred:       15997000 bytes\nRequests per second:    182.52 [#\/sec] (mean)\nTime per request:       547.887 [ms] (mean)\nTime per request:       5.479 [ms] (mean, across all concurrent requests)\nTransfer rate:          2887.87 [Kbytes\/sec] received\n\nConnection Times (ms)\n              min  mean[+\/-sd] median   max\nConnect:       16   20   6.5     19     149\nProcessing:    57  487  82.1    480     747\nWaiting:       39  467  82.0    460     724\nTotal:         88  507  82.5    501     783\n\nPercentage of the requests served within a certain time (ms)\n  50%    501\n  66%    531\n  75%    544\n  80%    551\n  90%    578\n  95%    642\n  98%    702\n  99%    738\n 100%    783 (longest request)<\/code><\/pre>\n\n\n\n

\u307e\u3060\u3001SSL\u3068\u304b\u8a2d\u5b9a\u306f\u3053\u308c\u304b\u3089\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u306a\u3069\u3082\u672a\u8abf\u6574\u3067\u3059\u3002\u8a2d\u5b9a\u5024\u306f\u4ee5\u4e0b\u306e\u30b5\u30a4\u30c8\u3092\u5927\u3044\u306b\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n

Nginx\u3067WordPress\u3092\u4f7f\u3046\u6642\u306e\u8a2d\u5b9a\u3092\u307e\u3068\u3081\u3066\u307f\u305f<\/a><\/p><\/blockquote>\n\n\n\n

\u3042\u3068\u306f\u3001SSL\u8a2d\u5b9a\u3092termux\u3067\u3069\u3046\u3084\u308b\u304b\u3067\u3059\u306d\u3002\u81ea\u52d5\u5316\u3057\u305f\u3044\u306e\u3067\u3001\u3069\u3093\u306a\u611f\u3058\u306e\u4ed5\u7d44\u307f\u304c\u52d5\u304f\u3093\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n

\u3042\u3001\u305d\u308c\u304b\u3089Rapid START CDN\u306e\u30d5\u30a7\u30a4\u30b9\u30d6\u30c3\u30af\u30c1\u30e3\u30c3\u30c8\u306b\u5fdc\u7b54\u304c\u3042\u3063\u305f\u3093\u3067\u3001\u3082\u3046\u4e00\u5ea6\u8a66\u3057\u3066\u307f\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n\n\n\n

\u00a0\u8ffd\u8a18<\/h2>\n\n\n\n

\u3084\u3063\u3071\u308aWEB\u30d5\u30a9\u30f3\u30c8\u8aad\u307e\u306a\u3044\u307b\u3046\u304c\u901f\u3044\u3093\u3067\u3001Autoptimize\u3067\u8a66\u9a13\u7684\u306b\u30ab\u30c3\u30c8\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n

\"\"<\/figure><\/div>\n\n\n\n

\u8aad\u307f\u8fbc\u3080\u3082\u306e\u304c\u5c11\u306a\u304f\u306a\u308c\u3070\u3001\u8868\u793a\u3059\u308b\u306e\u3082\u901f\u3044\u3067\u3059\u306d\u3002WEB\u30d5\u30a9\u30f3\u30c8\u304c\u306a\u304f\u306a\u308b\u3053\u3068\u3067\u3001\u591a\u5c11\u6587\u5b57\u306e\u8868\u793a\u306f\u610f\u56f3\u3057\u305f\u3082\u306e\u3068\u9055\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u5feb\u9069\u306b\u8aad\u3093\u3067\u3082\u3089\u3048\u308b\u307b\u3046\u304c\u826f\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u306fWEB\u30d5\u30a9\u30f3\u30c8\u306f\u5916\u3059\u65b9\u5411\u3067\u3002<\/p>\n\n\n\n

\u3042\u3068\u3001\u30e2\u30d0\u30a4\u30eb\u5411\u3051\u306e\u30b9\u30b3\u30a2\u304c\u304b\u306a\u308a\u5909\u308f\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n

\"\"<\/a><\/figure><\/div>\n\n\n\n

<\/p>\n\n\n\n

\u307e\u3041\u3001\u305d\u306e\u3046\u3061\u6c17\u304c\u5909\u308f\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

NGINX\u3068php-fpm\u69cb\u6210\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3044\u3064\u3082\u306e\u8a08\u6e2c\u30b5\u30a4\u30c8\u3067\u3059\u3002 \u591c\u9593\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u4e00\u756a\u7a7a\u3044\u3066\u3044\u308b\u6642\u306a\u3093\u3067\u3001\u901f\u3044\u611f\u3058\u3067\u3057\u3087\u3046\u304b\uff1f GCP\u6771\u4eac\u30ea\u30fc\u30b8\u30e7\u30f3\u304b\u3089\u306e\u3001apache ab \u306f\u4ee5\u4e0b\u3002182\/sec\u3000\u301c\uff01\u901f\u3063\u3000 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[14,83,32],"tags":[],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":2,"uagb_excerpt":"NGINX\u3068php-fpm\u69cb\u6210\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3044\u3064\u3082\u306e\u8a08\u6e2c\u30b5\u30a4\u30c8\u3067\u3059\u3002 \u591c\u9593\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u4e00\u756a\u7a7a\u3044\u3066\u3044\u308b\u6642\u306a…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/5943"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=5943"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/5943\/revisions"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=5943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=5943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=5943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}