Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
ã¯ããããã¯åããã¤ãè¯ãè¦ãApacheã¨Nginxã®æ§è½å·®ã«è¦ãã¾ãã大ä½ãApacheã¯Nginxã®75%ç¨åº¦ã®æ§è½ã«è½ã¡çãã¾ããæ°åãã¤ãã®éçã³ã³ãã³ãã«å¯¾ãããªã¯ã¨ã¹ãå¦çã¯Nginxã®å¾æåéã ã¨æã£ã¦ããã®ã§ã大ä½ãããªãã®ã§ãã ããã§ãçé¢ç®ã«event_mpmã®ãã¥ã¼ãã³ã°ãè¡ã£ã¦ã¿ã¾ãããã§ã幾度ã¨ãªããã³ãã試ããçµæå°ãåºãããéçã³ã³ãã³ãã«å¯¾ããåææ¥ç¶æ°100ç¨åº¦ã«å¯¾ãã¦æé«ã®ããã©ã¼ãã³ã¹ã示ãevent_mpmã®è¨å®ã¯ä»¥ä¸ã®ããã«ãªãã¾ããã [program lang=âapacheâ escaped=âtrueâ] StartServers 4 MinSpareThreads 4 MaxSpareThreads 4 ThreadsPerChild 2 MaxRequestWorkers 2 MaxConnectionsPerChild 0 [/p
ãã£ããæ¦è¦ ãã¼ã¯ã§3000req / sec æ¯åã³ã³ãã³ãæ´æ°è¦æ± ã³ã³ãã³ãæ´æ°ã®éã¯ä»æãããã¼ã¿ãapiçµç±ã§åãåã ã³ã³ãã³ãæ´æ°ã«ã¯TheSchwartzãä½¿ç¨ ãªã³ã³ãã³ããè²ã ãã¦ãããã°ã å°ãããã«æ¸ãæè¡ã¯å¤§åãå¨å²ã®ã®ã¼ã¯ãªæ¹ã ã«ãµãã¼ããã¦ããã£ããã®ã§ãåèªèº«ãä½ãããããã§ã¯ãªããæ®å¿µãããã æ§æ internet -> www(squid -> apache) -> app(memcached -> app) -> db ããã³ãã¨ã³ã wwwãµã¼ããapacheã¨squidãåããã¦ãããapacheããªã¯ã¨ã¹ããåããsquidã®ãã£ãã·ã¥ãæãã°ãããè¿ããç¡ããã°ããã¯ã¨ã³ãã®appãµã¼ãã¸proxyã ããã¯ã¨ã³ã appãµã¼ããmemcachedã¨ã¢ããªãåããã¦ããã ããããåé·åãã¦ããã©ããªã¯ã¨ã¹ãæ°ã®å²ã«å°æ°ã¯å°ãªãã æè¡ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}