é
代ãã»ãã㦠ISUCON3 ã«ååå ãã¦ãã¾ãããæ«å®ã¹ã³ã¢ã¯2æ¥ç®5ä½ç·å11ä½ããããªã®ã§ãã¶ã決åããã¦ãã¨æãã¾ãããã
優勝賞金ドドンと100万円! 第三回 ISUCON 開催のお知らせ #isucon : ISUCON公式Blog
ç«ã¡ä½ç½®çãª
ãããã¢ããªã±ã¼ã·ã§ã³ã¨ã³ã¸ãã¢2å (id:onishi ãã id:motemen ãã) ã¨åå ããã®ã§ãã¡ã¤ã³ã®æ¹åæ§ã¯2人ã«ãã¾ãããã¦ã²ãããä¸ã®æ¹ã®ãã¥ã¼ãã³ã°ããã£ã¦ã¾ããã
æ®éã«ä»äºã§ããåç¨åº¦ã«ã¯ããã¾ãããããã以ä¸ã®ãã©ã¹ãã£ãã¯ãªå¤åã足ããªãã£ãããªã¨åçã§ãã
ãã£ããã¨
ã¾ãã¯ä¸ç®è¦ã¦å¤ãªã¨ããã®èª¿æ´ããå ¥ãã
- innodb memcache plugin ã¨ã使ã£ããã¨ãªããç¥ããã®ã§ memcached 使ãããã
- ä¸ç®è¦ã¦ãã¡ãªã¯ã¨ãªå¯¾ç㧠index 追å
- prefork httpd, keepalive off ã¨ãæå³ããããã®ã§ keepalive å¼µããã¦ã¾ã¨ããªã¹ã³ã¢ãåºãããã«
- Apache æè¿ããã¾ã触ã£ã¦ãªããã ãã®éã« nginx ã«å¤æ´ãstatic file ãè¿ããgzip試ããltsv ãã°ã®æºåã$connection_requests ãããã®ç¢ºèªã
- çé¢ç®ã« my.cnf ãä½ããããã¾ã§å¤§ããªå·¥å¤«ã¯ãã¦ãªããæ®éã® InnoDB ãã¥ã¼ãã³ã°ã
ããã¾ã§ã¯æ®æ®µã®ä»äºã®å»¶é·ãªæãããã®ã¸ãããçµæ§ã ã¾ãã ã¾ããã
- ã¢ã¯ã»ã¹å¾ååæï¼é ãï¼
- å ¥ããããªããã©ã¯ã¨ãªãã£ãã·ã¥ã
- ãã©ã¼ãããããçµæã DB ã«å ¥ããã¨ãã£ã±ãéããã
- ã²ã¹ãã« varnish å ¥ãã¦ã¿ãããã¹ãã¨ã®ãããçã¨ãè¦ããã
- é ãé¨åãè¨æ¸¬ãã¤ã¤ææ¡ãuser ãã sys ã«ç§»ã£ã¦ããããããããæ©ãã
æå¾ã®æ¹ã¯ã²ãããã¢ããªã®æ¹åãè¦ãªããããã©ã¼ãã³ã¹ã¨ããã«ããã¯ãè¦ããã¨ã ããã£ã¦ãæãã§ããã
æåºããAMI大ä¸å¤«ããªâ¦ã¡ããã¨éãããªâ¦ãä»ããä¸å®ã§ãããããªãã§ããããé 飲ãã§ããã管çç»é¢ã¯è§¦ããªããç¥ãã®ã¿ã
åç
ãã£ããã¯èªã¾ãªãã¦ããã§ã
- äºç¿è¶³ããªãã£ãï¼åæ¥ããã°ãããã¨æã£ã¦ããã© 酔いつぶれて一日中寝てた ã¨ãããããã®ãã²ã©ãã£ãã
- ç¥ããªãããã«ã¦ã§ã¢å¤§æï¼varnish ã¯ã ã¾ãã ã¾ããMySQL5.6 ãããªã«è§¦ã£ã¦ãªããããã£ãããã®å ´ã§èª¿ã¹ããã
- çºæ³ã®è»¢æï¼å½ããåã®çºæ³ãããªãã£ããåªåã¯ã©ã¹ã®äººãã¡ã«çµå±ããã«ã¹ã³ã¢ä»¥ä¸ã¤ãããã¦ãã¾ã£ãã®ã¯ãäºäººã«ã¾ããã¦æèåæ¢ãã¦ãé¨åããã£ããªã¼ã¨ã
- æ¦å¨ãããããï¼æ®æ®µããã¯ã³ã©ã¤ãã¼æ¸ãã¦ã°ããã ãããã®å ´ã§ sed awk æ¸ãã¾ãã£ã¦ããã©ãã¡ããã¨ãã¼ã«ã«ããã¹ãã ãªã¼ã¨æã£ããèªåã®ä¸ã§ã®ããã©ã¼ãã³ã¹è§£æã®å®çªçãªã
- ãããã¤ã¨ãèãã¦ãªãã£ãããããç´åã«ãªã£ã¦ãã¾ã£ãã
çµå±
ãªãã ããã ã§æ¥½ããã£ãã§ããæ®æ®µã®ä»äºã§ããã¾ã§ã«ãªã«ãªã«ãã¥ã¼ãã³ã°ãããã¨ãæ¸ã£ã¦ãã®ã§ããªãã ãæããããç¹æ°ãã·ãã¢ã«åºãããã®ã¯æããã©ãèªåãªãã¦ã¾ã ã¾ã ã ã¨çæãã¾ãã
éå¶ãããããªã¼ã¨æåãã¾ãããããã ãã¡ããã¨ãã¼ã«ã»ç°å¢æ´ããã®ã¯å¤§å¤ã ã£ãã¨æãã¾ãã
決ååºãããããã£ã¨ç²¾é²ãããã£ãããããæ°ã§ã!!!
ææ¥ä»äºâ¦â¦
â¦ã