{"id":293,"date":"2017-01-15T14:29:31","date_gmt":"2017-01-15T05:29:31","guid":{"rendered":"http:\/\/www.mukgee.com\/?p=293"},"modified":"2021-04-20T21:39:58","modified_gmt":"2021-04-20T12:39:58","slug":"%ec%95%84%ed%8c%8c%ec%b9%98-vs-nginx-%ec%9b%b9%ec%84%9c%eb%b2%84-%ec%b0%a8%ec%9d%b4","status":"publish","type":"post","link":"http:\/\/mukgee.com\/?p=293","title":{"rendered":"\uc544\ud30c\uce58 vs nginx \uc6f9\uc11c\ubc84 \ucc28\uc774"},"content":{"rendered":"<p>\ud574\ub2f9 \ub0b4\uc6a9\ub3c4 \uba74\uc811\uc5d0\uc11c \uc5b8\uae09\ub418\uc5c8\ub358 \ubd80\ubd84\uc774\ubbc0\ub85c \uc815\ub9ac\ud558\uace0 \ub118\uc5b4\uac04\ub2e4.<\/p>\n<p>\uc0ac\uc2e4 \uc544\ud30c\uce58\uc640 nginx(\uc5d4\uc9c4\uc5d1\uc2a4 \ub77c\uace0 \uc77d\ub294\ub2e4)\uc758 \ucc28\uc774\uc810\uc5d0 \ub300\ud574 \ucc3e\uc544\ubcf8 \uacb0\uacfc \ubb34\uc5c7\uc778\uac00\ub97c \uc815\ub9ac \ud560\ub9cc\ud07c\uc758 \ucc28\uc774\ub294 \ucc3e\uc9c0 \ubabb\ud588\ub2e4. \ub450 \uc6f9\uc11c\ubc84\uc758 \ud0dc\uc0dd\uc774 \ub2e4\ub974\uae30 \ub54c\ubb38\uc5d0 \ucc28\uc774\uc810\uc774 \uc874\uc7ac\ud588\uc73c\ub098, \uae30\uc220\uc758 \ubc1c\ub2ec\uacfc \uc11c\ub85c \ubca4\uce58\ub9c8\ud0b9\ud55c \uacb0\uacfc<del>(\ub77c\uace0 \ucd94\uce21)<\/del>\u00a0\ub450 \uc6f9\uc11c\ubc84\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 \uae30\ub2a5\uc740 \ub300\ubd80\ubd84 \ube44\uc2b7\ud558\ub2e4.<\/p>\n<p>\ud558\uc9c0\ub9cc, \ub9ce\uc740 \uc0ac\ub78c\ub4e4\uc774 nginx\uc758 \uacbd\uc6b0 \uc77c\ubc18\uc801\uc778 \uc0c1\ud669\uc5d0\uc11c \uc544\ud30c\uce58 \ubcf4\ub2e4 \uc870\uae08\ub354 \ub9ce\uc740 \ucee4\ub125\uc158\uc744 \ucc98\ub9ac\ud55c\ub2e4\uace0 \ud558\ub294\ub370, \uadf8 \uc774\uc720\ub294 \uc544\ud30c\uce58\uc758 \uacbd\uc6b0 \ucee4\ub125\uc158 \ub2f9 \ud558\ub098\uc758 \uc2a4\ub808\ub4dc\uc640 \ud504\ub85c\uc138\uc2a4\ub97c \uc0dd\uc131\ud558\uc9c0\ub9cc, nginx\uc758 \uacbd\uc6b0 listener \uac00 request\ub97c \ucc98\ub9ac\ud558\uae30 \ub54c\ubb38\uc5d0 \uac01 request \ub9c8\ub2e4 \u00a0\uc2a4\ub808\ub4dc\uc640 \ud504\ub85c\uc138\uc2a4\uac00 \ubcf5\uc81c \ub418\uc9c0 \uc54a\ub294\ub2e4. \uc774 \ub54c\ubb38\uc5d0 \uba54\ubaa8\ub9ac\uc801\uc778 \uce21\uba74\uc5d0\uc11c nginx\ub294 System Resource\ub97c \uc801\uac8c \ucc98\ub9ac\ud55c\ub2e4\ub294 \uc7a5\uc810\uc774 \uc788\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n<p>\ud2b8\ub80c\ub4dc \uc790\uccb4\uac00 \uc544\ud30c\uce58\uc5d0\uc11c nginx\ub85c \ub118\uc5b4\uac00\uace0 \uc788\uc9c0\ub9cc, \uadf8\ub7fc\uc5d0\ub3c4 \ubd88\uad6c\ud558\uace0 \ud0dc\uc0dd\uc801\uc778 \ubd80\ubd84(\uc544\ud30c\uce58\uc758 \uacbd\uc6b0\u00a0CGI\ub97c \ud1b5\ud55c \uc6f9\uc11c\ube44\uc2a4\ub97c \uc704\ud574 \uc0dd\uaca8\ub0a8, nginx\uc758 \uacbd\uc6b0\u00a0 Http Proxy\uc758 \ubaa9\uc801\uc774 \uac15\ud568)\uc744 \uc774\ud574\ud558\uace0 \uc0c1\ud669\uc5d0 \ub9de\uac8c \uc0ac\uc6a9\ud558\ub294\uac83\uc774 \uc911\uc694\ud560 \ub4ef \ud558\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n<p>2021.4.20<\/p>\n<p>Open Source \uc5d0 \ub300\ud55c \uae00\uc744 \uc77d\ub294 \uc911 nginx \uad00\ub828 \uae00\uc774 \uc788\uc5b4 \ucd94\uac00 \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<p>nginx \uc758 \uc2dc\uc791\uc740 C10k problem \uc5d0\uc11c \uc2dc\uc791\ud569\ub2c8\ub2e4.<\/p>\n<p>web service \uc758 \uc131\uc7a5\uacfc \ud568\uaed8 web server\uc5d0\uc11c \ucc98\ub9ac\ud574\uc57c\ud558\ub294 http connection \uc774 non-linear \ud558\uac8c \uc99d\uac00\ud558\uac8c \ub429\ub2c8\ub2e4.<\/p>\n<p>\uae30\uc874\uc758 \uc544\ud30c\uce58 \uc11c\ubc84\ub85c\ub294 \ud558\ub098\uc758 connection \ub2f9 \ud558\ub098\uc758 \uc2a4\ub808\ub4dc\ub97c \ud560\ub2f9\ud558\uc5ec connection \uc774 \ub298\uc5b4 \ub0a0\ub54c\ub9c8\ub2e4 CPU\uc640 MEM \uc0ac\uc6a9\ub960\uc774 \ub298\uc5b4\ub098\uac8c \ub429\ub2c8\ub2e4.<\/p>\n<p>\uc774\ub7f0 \uc0c1\ud669\uc5d0\uc11c C10k problem \ub77c\ub294 \ubb38\uc81c\uac00 \ub4f1\uc7a5\ud558\ub294\ub370 1\ub9cc\uac1c\uc758 socket\uc744 \ub3d9\uc2dc\uc5d0 \uc5f0\ub2e4\uba74 \uacfc\uac70\uc5d0\ub294 \ud558\ub4dc\uc6e8\uc5b4\uc801\uc778 \ubb38\uc81c\ub85c \ubd88\uac00\ub2a5\ud588\uc9c0\ub9cc \uc774\uc81c\ub294 \uc18c\ud504\ud2b8\uc6e8\uc5b4\uc758 \uad6c\uc870\uc801 \ubb38\uc81c\ub85c 1\ub9cc\uac1c\uc758 socket\uc744 \ub3d9\uc2dc\uc5d0 \ucc98\ub9ac\ud560 \uc218 \uc5c6\ub2e4\ub294 \ubb38\uc81c\uac00 \ub4f1\uc7a5\ud569\ub2c8\ub2e4<\/p>\n<p>nginx \ub294 \uc544\ud30c\uce58\uc640 \ub2e4\ub978 \uad6c\uc870\ub85c C10K \ubb38\uc81c\ub97c \ud574\uacb0\ud574\ub098\uac00\uac8c \ub429\ub2c8\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n<p>\uacb0\uad6d nginx \ub294 \ub298\uc5b4\uac00\ub294 connection \uc5d0 \ub300\uc751\ud558\uace0 Concurrency \ubb38\uc81c\ub97c \ud574\uacb0\ud558\ub294\ub370 \uc911\uc810\uc744 \ub450\uace0 \uac1c\ubc1c\ub41c \uc6f9 \uc11c\ubc84\ub77c\ub294 \ub0b4\uc6a9\uc774 \ub9de\uc2b5\ub2c8\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n<p>\ucc38\uace0 : http:\/\/blog.naver.com\/PostView.nhn?blogId=tmondev&amp;logNo=220737182315, http:\/\/knot.tistory.com\/88<\/p>\n<p>http:\/\/aosabook.org\/en\/nginx.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud574\ub2f9 \ub0b4\uc6a9\ub3c4 \uba74\uc811\uc5d0\uc11c \uc5b8\uae09\ub418\uc5c8\ub358 \ubd80\ubd84\uc774\ubbc0\ub85c \uc815\ub9ac\ud558\uace0 \ub118\uc5b4\uac04\ub2e4. \uc0ac\uc2e4 \uc544\ud30c\uce58\uc640 nginx(\uc5d4\uc9c4\uc5d1\uc2a4 \ub77c\uace0 \uc77d\ub294\ub2e4)\uc758 \ucc28\uc774\uc810\uc5d0 \ub300\ud574 \ucc3e\uc544\ubcf8 \uacb0\uacfc \ubb34\uc5c7\uc778\uac00\ub97c \uc815\ub9ac \ud560\ub9cc\ud07c\uc758 \ucc28\uc774\ub294 \ucc3e\uc9c0 \ubabb\ud588\ub2e4. \ub450 \uc6f9\uc11c\ubc84\uc758 \ud0dc\uc0dd\uc774&hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[3],"tags":[25,52],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/mukgee.com\/index.php?rest_route=\/wp\/v2\/posts\/293"}],"collection":[{"href":"http:\/\/mukgee.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/mukgee.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/mukgee.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/mukgee.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=293"}],"version-history":[{"count":2,"href":"http:\/\/mukgee.com\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions"}],"predecessor-version":[{"id":710,"href":"http:\/\/mukgee.com\/index.php?rest_route=\/wp\/v2\/posts\/293\/revisions\/710"}],"wp:attachment":[{"href":"http:\/\/mukgee.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/mukgee.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=293"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/mukgee.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}