Twitterã®ãªã¢ã«ã¿ã¤ã æ¤ç´¢æ©è½ãããªã¼ãã³ã½ã¼ã¹ã®Luceneãã¼ã¹ã«ãªã£ãã¨ãTwitter Engineeringããã°ã¸ã®ã¨ã³ããªãTwitter's New Search Architectureãã§ç´¹ä»ããã¦ãã¾ãã ããã¾ã§Twitterã¯ãªã¢ã«ã¿ã¤ã æ¤ç´¢ã«MySQLãã¼ã¹ã®ç¬èªã·ã¹ãã ãå©ç¨ãã¦ãã¾ããããè¦æ¨¡ã®æ¡å¤§ãé£ãããªã£ã¦ããããã6ã«æåã«æ°ã·ã¹ãã ã®æ§ç¯ã決å®ããªã¼ãã³ã½ã¼ã¹ã®æ¤ç´¢ã¨ã³ã¸ã³ã§ããLuceneãé¸æããã¨ã®ãã¨ã§ãã å¾æ¥ã®50åãé«éã«ï¼ æ¤ç´¢ã¨ã³ã¸ã³ã«å¯¾ããè¦ä»¶ã¯ä»¥ä¸ã®ããã«é常ã«å³ãããã®ã§ããã Our demands on the new system are immense: With over 1,000 TPS (Tweets/sec) and 12,000 QPS (queries/sec) = over 1 billion
æãããping -aãã§é³ãé³´ãï¼ããªã¨ã³ããªã§ãæ¸ããã®ã§ãããä½ããããªã¢ã«ã¿ã¤ã ã«ãã§ãã¯/ç£è¦ãããæã«ãè¦è¦ã ãã§ã¯ãªãã¢ã©ã¼ãé³ãä¸ç·ã«åºãã¨ãã¢ãã¿ãªã³ã°ãããããã®ã§ãã ã¨ããããã§ãLinuxãªããã§ãã¨ãããã°ãã¡ã¤ã«ã®åºåãããããæååãæ¤åºãããéã«ããã¼ãé³ãé³´ããã¯ã³ã©ã¤ãã¼ã¯ä»¥ä¸ã $ tail -f ãã°ãã¡ã¤ã« | sed -e 's/\(対象æåå\)/\1^G/'ä¸è¨ãå®è¡ä¸ã«ãæå®ãã°ãã¡ã¤ã«ã«å¯¾è±¡æååãåºåãããã¨ãã¼ã(Beep)é³ãé³´ãã¯ãã ã^Gã(0x07)ã®é¨åããASCIIã®BELãã£ã©ã¯ã¿ã®ãªãã©ã«ã§ãã $ echo -n "^G"ãªã©ã¨ãã¦ããã°ããã«(ãã¼ãé³)ãé³´ãã¾ãããã ã¡ãªã¿ã«ãã^Gãã¯ã[Ctrl-V] â [Ctrl-G] ã®é ã«å ¥åãã¦ããã°OKãemacsã ã¨[Ctrl-Q] â [Ctrl-G]ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}