Hadoopã¨ãã«å ¥éãã¦ã¿ã ã åæ£æè¡ãåºã¦ããèæ¯
調ã¹ãã¡ã¢ãè²ã æãè¾¼ã¿ãæ³å®ã«åºã¥ããäºãæ¸ãã¦ãã®ã§ãéµåã¿ãã¦é¨ãã注æå ±çºä»¤ããã¨ãã
æè¿åæ£æè¡ç³»ã®è©±é¡ãããèãããã«ãªãã¾ãããä¼æ¥å ã°ã«ã¼ãå ã§ä½¿ããããªæ¥åã·ã¹ãã ã§ããã°ãããã¾ã§ç¡è¶ãªæ°ã®ã¢ã¯ã»ã¹ãç¡ãã ãããããæ°å°ãæ°åå°è¦æ¨¡ã®ãµã¼ããç«ã¦ãã°ã ãããäºè¶³ããã®ã ãããä¾ãã°ããµã¼ãæ§æããWebãµã¼ã - APãµã¼ã - DBãµã¼ããã¨ãã3ã¬ã¤ã¤ã«ãã¦ãåãµã¼ããåé·åãã¦ãããçã®ææ³ã§ã©ãã«ããªã£ãã
ãã ãå¦çãªã¯ã¨ã¹ãæ°ã®å¢å¤§ããå¦ç対象ãã¼ã¿ã®å¢å¤§ãããã¦å¦çãã¸ãã¯ã®è¤éåã«ä¼´ã£ã¦ã大éã®ãã¼ã¿ãé次å¦çããã ãã§ã¯å¦çã追ãã¤ããªãä¸çãåºã¦ãããæ¥åã·ã¹ãã ã§ã¯ãªãããµã¼ãã¹ãããã¤ãã®ä¸çã§ã¯ããã®ç¾è±¡ã¯é¡èã
ã¾ããWebãµã¼ã層ã¨APãµã¼ã層ã®åé·åã¯æ¯è¼çç°¡åã ãã©ããDBãµã¼ã層ã¯å¤§éã®ã¹ãã¼ããæã£ã¦ããã¬ã¤ã¤ã ããåé·åãããã©ãããã1ã¤ã®ãµã¼ãã«æ´æ°ãããã¦ãåæã«ä»ã®ãµã¼ãã«æ´æ°ãããã訳ãããªããä¸ç¬ãããããªããã©æ´åæ§ãå´©ãããã£ã¦ããããè² è·åæ£ã®ããã®åé·åãªã®ã«ãã¬ããªã±ã¼ã·ã§ã³ã®ã³ã¹ã大ãããã¦éå¹æã ã£ããããªãã®ãå¿é ã«ãªãã¾ãã
çã ããªãããä»ã¾ã§ã®ãã©ãã¤ã ã ã¨ããã®ãããªå¤§ããªæ å ±å¦çã«ã¯ã¤ãã¦ãããªããã¨ãããã¨ã§åæ£ã³ã³ãã¥ã¼ãã£ã³ã°ã¨ãããèãæ¹ã話é¡ã«ãªã£ã¦ãããã£ã¦ã¨ããããªãï¼ä»ã«ãçç±ã¯è²ã ããããã ãã©ï¼
ä¾ãã°å¤§éã®ã¢ã¯ã»ã¹ãã°ãããç¹å®ã®æ¡ä»¶ã«ããããããã®ãæ½åºããå ´åãä»ã¾ã§ã ã£ããããã°ãé ããèªãã§ãã£ã¦ã1ã¨ã³ããªæ¯ã«æ¡ä»¶ãæ¤è¨ãã¦ãããããã¦ãããå¥ã«åºåãã¨ãããããªãã¨ãããã ãããããã§ã¯ãªãã¦ã大éã®ãã°ãä¾ãã°100åã«åå²ãã¦ã100åã®ã¿ã¹ã¯ãåæ並è¡å¦çãã¦ãããããã®çµæããã¼ã¸ãããã¨ããã°å¦çé度ä¸ããããï¼ ã¨ãã話ã
ãã ã1å°ã®ãã·ã³ï¼ãã¼ãï¼ã«è¤æ°ã®ã¹ã¬ãããªãããã»ã¹ãä¹ãã¦ä¸¦è¡å¦çããã¦ããå¦çã¹ã±ã¼ã«ã«ã¯é度ããããåã®ä¾ã§ã¯ãæããå¦çé度ã¯æ°åã«ã¯ãªã£ãã¨ãã¦ã100åã«ã¯åã°ãªãã ãããå ã 1ãã¼ãã®éçã¯æ±ºã¾ã£ã¦ãã®ã ãããå¾ã£ã¦ãè¤æ°ã®ãã¼ãã«ã¾ããã£ã¦å¦çãåæ£ãããªããã°ããã¾ã大ããªå¹æã¯æããªãããã¼ãã®æ°ã100å°ã«ã§ããã°ãå¦çé度100åã¯ç¡çã«ãã¦ããããã«è¿ãããã©ã¼ãã³ã¹ã¯åºããã®ã§ã¯ãªããã
ã¾ãã並è¡å¦çï¼ãã«ãã¹ã¬ããçï¼ããã°ã©ãã³ã°ã£ã¦ã®ã¯ç°æ§ã«é£ãããä¾ãã°ãããã«å¤§éï¼æ°TBè¦æ¨¡ï¼ã®asciiã®è±æããã¹ããã¡ã¤ã«ãããããã®ä¸ã§ä½¿ããã¦ããè±åèªã®ä¸ã§1çªåºç¾é »åº¦ã®é«ãåèªãæ½åºããããã¨ããã¸ã§ãããã£ãã¨ããããã®å¦çããã°ã©ã ãåãã¼ãåããã»ã¹åã¹ã¬ããã§æ¸ãã®ã¯é£ãããã¨ãããªããããããæ¡ä»¶ã¨ãã¦ãçµæã¯1å以å ã«è¿ãã¦ãã ããããã¼ãã¦ã§ã¢ã®æ°ã¯ãããã§ãç¨æãã¾ãã®ã§â¦ãã¨ãè¨ããããã©ãã§ãããï¼ çªç¶é£ãããªãã¨æãã¾ãã
å¾æ¥ã®ã³ã¼ãã£ã³ã°ã®ãã©ãã¤ã ã§ãã¸ãã¯ãå®è£ ããã¨ãåæ£ã«å¯¾å¿ã§ããå®è£ ã«ã¯ãªããªããåæ£å¦çãç®çã¨ãããã¸ãã¯ã®æ¸ãæ¹ãã¨ãããã®ãããããªãã°åæ£åãã®ãã¸ãã¯è¨è¿°ã®æ çµã¿ãããªãã¡ããã¬ã¼ã ã¯ã¼ã¯ã欲ãããã¨ããã®ãMapReduceã ããã®æ çµã¿ã®ä¸ã§ãã¸ãã¯ãå®è£ ããã°ããã¨ã¯ãã¬ã¼ã ã¯ã¼ã¯ãä¸æããã¨ã¸ã§ããã¿ã¹ã¯ã«åå²ãã¦ãã¿ã¹ã¯ãåãã¼ãã«åæ£ããã¦ãçµæããã¼ã¸ãã¦ãããã
MapReduceã¯ãã¸ã§ããããããä»çµã¿ã®ä¸ã«å®è£ ããã¨ãåæ£ãããããªãããã¨ããæéã§ããããã®ããã«å®è£ ãããã¸ã§ããã©ã®ããã«åæ£å¦çãã¹ããªã®ããè¨ããä»æ§ãããã¦ããã®ä»æ§ãJavaã§å®è£ ããã®ãHadoopã
ä»ã¾ã§ããªã¼ãã ã«å®è£ ãã¦ãããã¸ãã¯ããã©ã®ããã« MapReduce ã¨ããæ çµã¿ä¸ã«ä¹ãããããå®è£ ããã®ãï¼ã£ã¦ã®ããã¢ã«ãªãããã ãæç¶ãåãããªãã¸ã§ã¯ãæåã¸ã®ãã©ãã¤ã 転æã¨åãæ§ã«ãããã°ã©ã è¨è¿°ã®èãæ¹ãã²ã£ããè¿ããªãããããªãããã§ããã