å½å ææ°ã®Webãµã¤ãã§ããYahoo! JAPANã§ã¯ããã®è¨å¤§ãªãã©ãã£ãã¯ãæ¯ãã大è¦æ¨¡ãªã¤ã³ãã©ãã¼ã ãæãã¦ãã¾ãã大éãªã ãã§ã¯ãªããå¤æ§ãªãµã¼ãã¹ãçã¿åºããã¾ãã¾ãªãã¼ã¿ãå¦çãããã¨ããè¦æ±ããããªã¼ãã³ã½ã¼ã¹ã¨ãã¦å ¬éãããã°ããã®ã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ãPulsarããçã¾ãã¾ãããé·å¹´è¦ªããã å æ¬æ¨ãã移転ããã°ããã®Yahoo! JAPANæ°ãªãã£ã¹ã§ãå社ã®ãã©ãããã©ã¼ã éçºã¨ã³ã¸ãã¢ã®èãæ¹ãåãæ¹ããã¯ã¦ãªã¨ã³ã¸ãã¢ã¨ã®åº§è«ä¼å½¢å¼ã§ãèããã¾ããã
座è«ä¼åºå¸è ã¯ãã¤ãã¼æ ªå¼ä¼ç¤¾ ã·ã¹ãã çµ±æ¬æ¬é¨ ãã©ãããã©ã¼ã éçºæ¬é¨ã®åæ¢æ£åãããåæ¬é å®ãããæ åæããï¼ä¸åçãä¸å¤®ããå³ã¸ï¼ãã¯ã¦ãªã®åªå ä½æ¨¹ï¼ã·ã¹ãã ãã©ãããã©ã¼ã é¨ Webãªãã¬ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ï¼ã¨èåæ人ï¼Mackerelãã¼ã Webã¢ããªã±ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ï¼ï¼åããä¸åçãå·¦ããï¼ãæ§æã¯ITã¸ã£ã¼ããªã¹ãã®ææéãè¨äºã®æå¾ã«ãã¬ã¼ã³ãã®ãç¥ãããããã¾ãï¼
ï¼â»ãã®è¨äºã¯ãã¤ãã¼æ ªå¼ä¼ç¤¾ã®æä¾ã«ããPRè¨äºã§ãï¼
ââçããã®èªå·±ç´¹ä»ããé¡ããã¾ãã
åæ¢ãååãï¼ç±³Yahoo! Inc.çºOSSã§ããï¼ATSï¼Apache Traffic Serverï¼ã®åº§è«ä¼ã«ãåºå¸ãã¾ããããç¾å¨ã¯ãã¼ã ãå¤ãã£ã¦ãã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã®éçºã社å åãå±éãææãã¦ãã¾ãã
åæ¬ãYahoo! JAPANã«å ¥ç¤¾ãã¦4å¹´ç®ã§ã社å ãã©ãããã©ã¼ã ã¨ã³ã¸ãã¢ã§ããåããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ãæããã¦ãã¾ãã
æ åãYahoo! JAPANã«å ¥ç¤¾ãã¦5å¹´ç®ã§ã2人ã¨åæ§ã«ç¤¾å ãã©ãããã©ã¼ã ã¨ã³ã¸ãã¢ã§ãã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã®éçºããã¦ãã¾ãã
ã¤ãã¼æ ªå¼ä¼ç¤¾ã®æ åãããåæ¬ãããåæ¢ããï¼å·¦ããï¼
åªå ãã¯ã¦ãªã«å ¥ç¤¾ãã¦3å¹´ç®ã§ããWebãªãã¬ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ããã¦ãã¾ããMackerelã®ç«ã¡ä¸ãã«åå ãã¾ããã
èåãã¯ã¦ãªã®Webã¢ããªã±ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ã§ãMackerelã®éçºããã£ã¦ãã¾ããå æ¥ã¾ã§æ¯è¼çã¤ã³ãã©ã«è¿ãéç¨ã®ä»äºãå¥ããã¸ã§ã¯ãã§è¡ã£ã¦ãã¾ããã
â Yahoo! Inc.çºã®å¤§è¦æ¨¡å¯¾å¿ã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã Pulsarã¨ã¯
ââä»åã¯ã2016å¹´9æã«å ¬éãããOSSï¼ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ï¼ã§ãã Pulsar ï¼GitHubï¼ã«Yahoo! JAPANããé¢ãã£ãã¨ã³ã¸ãã¢ã®çããã«éã¾ã£ã¦ããã ãã¦ãã¾ããããããPulsarã¨ã¯ä½ããã¨ããã¨ããããæãã¦ããã ãã¾ããï¼
åæ¢ãã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã§ããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã«ã¯KafkaãActiveMQãªã©ããã¤ãåå¨ãã¦ãã¾ãããYahoo! Inc.ã®ãã¼ãºã«åã£ããã®ãè¦ã¤ããããæ°ãã«éçºããã®ãPulsarã§ãã
ãã¤ããã©ã¼ãã³ã¹ã§ã¹ã±ã¼ã©ãã«ãªã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ï¼Pulsarã®ç´¹ä» - Yahoo! JAPAN Tech Blog
ââãã¼ãºã«åã£ããã®ãè¦ã¤ãããªãã£ãã¨ã¯ï¼
åæ¢ãä¾ãã°ãKafkaã¯è¨è¨ä¸ãè¨å¤§ãªæ°ã®ãããã¯ï¼ã¡ãã»ã¼ã¸ãã°ã«ã¼ãã³ã°ããåä½ï¼ãæ±ããã¨ãé£ãããã§ãã使ã人ã«ãã£ã¦è¦æ¨¡æãç°ãªãã¾ãããYahoo! Inc.ã¯ãããããªãµã¼ãã¹ãæä¾ãã¦ããã®ã§ãã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ãåå¥ã«ã»ããã¢ãããã¦ããã¨è¨å¤§ãªæéã«ãªãããããã¯ã®æ°ãè¨å¤§ã§ãæ±ããä»çµã¿ã欲ããã£ããã§ããã
åªå ãã¾ãã«å¤æ°ã®ãµã¼ãã¹ãæ¯ããåºç¤æè¡ãªãã§ã¯ã®ãã¼ãºã§ãããå®éã®è¦æ¨¡ã¯ã©ãããããªãã§ããããã
åæ¢ãããã§ãããã©ããããã®è¦æ¨¡ãã¨ããã¨ãYahoo! Inc.ã§ã¯ç¾å¨140ä¸ãããã¯ãPulsarã§ãã°ãã¦ãã¾ãããã¡ããæ§è½ã¨ãã¦ã¯ãã£ã¨ä¸ã®æ°åã§ãããã¾ãã
ââåºæ¬çãªè³ªåã§ãããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã¯ã©ããªä½¿ãæ¹ããããã®ãªã®ã§ãããï¼
æ åãã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã¯å©ç¨ç¯å²ãåºãã®ã§ãä½ã«ã§ã使ãã¾ããä¾ãã°ããã°åéãè¨å¤§ãªæ°ã®ã¦ã¼ã¶ã¼ãæ±ãããµã¼ãã¹ã§ããã®åç©ãåºåããããã¨ããéç¥ãéãç¨éã«ã使ãã¾ãï¼æ³¨ï¼Yahoo! Inc.ã®ã¡ã¼ã«ããã¡ã¤ãã³ã¹ãã¹ãã¼ããªã©ã®ãµã¼ãã¹ã§ã¯ãã§ã«Pulsarãå©ç¨ä¸ï¼ã
åªå ãã¯ã¦ãªã®Mackerelï¼SaaSåãµã¼ãã¼ç£è¦ãµã¼ãã¹ï¼ã«ãä½ããã®ã¡ãã»ã¼ã¸ã®ãµã¼ãã¹ãå ¥ãããã¨èãã¦ãã¾ããä¾ãã°ãã¨ã¼ã¸ã§ã³ãããå¾ãæ å ±ã®éãå ã¨ãã¦ãæç³»åDBã«ãHadoopã«ãéãããã¨ãã£ãå½¢ã§çµè·¯ãè¤æ°ããå ´åãããã¾ããããã§ããã£ããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã«æ¾ãè¾¼ãã°ããããã«ããããPulsarã¯ããããç¨éã§ãããã
èåãPulsarã¯ãããã¾ã§ä½¿ããã¦ããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ãç½®ãæããå½¢ã ã£ãã®ã§ããï¼ ããã«ã¯ã©ããªèª²é¡ããã£ãã®ã§ããããï¼
åæ¢ã以åã¯ãKafkaãã社å å©ç¨ã ãã§å¤é¨ã«ã¯ãªã¼ãã³ã«ãã¦ããªãã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã使ã£ã¦ãã¾ãããã©ãããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ãããã®ãã¯ãæ代ã¨ã¨ãã«åºæºãå¤ãã£ã¦ãã¾ããä»ã¯PaaSããªã¼ãã¹ã±ã¼ã«ãããã®ã§ãæã®ããã«ãã¹ãåãæå®ãã¦éããããªããæ¹ãé£ãããã§ãã
ââPulsarã¯ã¯ã©ã¦ãã®æ代ã®ã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã¨ããæ§æ ¼ãï¼
åæ¢ãã¾ãããã§ãã
ââPulsarã®ã¡ãªããã®é¨åãããå°ãæãã¦ãã ããã
åæ¢ãããã¾ã§ã®ã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã§ã¯ããã¥ã©ããªãã£ï¼èä¹ æ§ããã¼ã¿ã失ãããªãæ§è³ªï¼ã¨ä½ã¬ã¤ãã³ã·ï¼é 延ï¼ããã¬ã¼ããªãã®é¢ä¿ã«ãã£ãã®ã§ãããPulsarã§ã¯ä¸¡æ¹å®ç¾ãã¦ããã¨ãããç¹å¾´ã¨ããã¾ããã ãããã©ã¡ããéè¦ãã使ãæ¹ã§ã対å¿ã§ãã¾ãã
Pulsarã®ã¢ã¼ããã¯ãã£
Yahoo! Inc.ã®ã¨ã³ã¸ãã¢ã«ããã°ãç¹ã«ãã ããããªããªããè¿·ã£ã¦ãªãã§ããï¼Pulsarï¼ã使ãã°ããããã¨ãä½ã«ã§ã使ããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ãç¨æãããããå¾ã¯ãµã¼ãã¹éçºã«éä¸ãã¦ããã¨ããç«å ´ã§ãã
â OSSã«ããããã3人ã§ç±³Yahoo! Inc.ã«é£ãã
ââãªãOSSã«ããã®ã§ããï¼
åæ¢ãYahoo! Inc.ã§ä½ã£ã¦ããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ãè¦ã¦ãYahoo! JAPANã§ã使ã£ã¦ã¿ããã¨ãããã¨ã«ãªãã触ã£ã¦ã¿ãããããããããã¨å¥½æ触ã ã£ãã®ã§ãéçºã«ã¸ã§ã¤ã³ãã¾ããã
åææã«ãOSSã«ããããã¨ãã話ãæã¡ä¸ãã£ã¦ãæã ããOSSã«ãã¾ããããã¨ããã·ã¥ãã¾ãããåãã¯ã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã§ãéå²ãããã¦ããããã§ã¯ãªãã®ã§ãåºç¤æè¡ã§ããã°ãã¿ããªã§ä½ã£ãæ¹ãæ¥çã«ãããããã®ãæä¾ã§ãããå¿ è¦ãªãã®ã¯ãå ±éåã§ããè¦ç´ ããããã§ãã
èåããããªãããã¾ãããï¼
åæ¢ããããããã¨ãã¨ä½¿ããã¦ãã社å åãã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã«ã¯ãç¾å¨ã¯ã¾ã ãªã¼ãã³ã«ãã¦ããªãæè¡ãå«ã¾ãã¦ãã¦ããããç½®ãæããå¿ è¦ãããã¾ãããããã«ãã3人ã§ããªã¼ãã³ã«ããã³ã³ãã¼ãã³ãã®éçºä½æ¥ããã¾ããããã®ããã«ç±³å½åºå¼µãããã§ããã
èåããã©ã°ã¤ã³ã®ãããªå½¢ã«ãªã£ã¦ããã°ããã§ãããå¯çµåã ã¨å¤§å¤ã§ããã
åæ¢ãã¯ããå®éã«å¯çµåã ã£ãã®ã§ãã¾ãã³ã³ãã¼ãã³ããåé¢ã§ããå½¢ã«æã£ã¦ããã®ã第ä¸ã¹ãããã«ãã¾ããããã®å¾ãã©ãã«ç½®ãæããããã¨èããã¹ã±ã¸ã¥ã¼ã«ã決ã¾ã£ã¦ããã®ã§ãããã«åãããå½¢ã§ä½ãã¾ããã
èåãããã¯ãYahoo! JAPANã®ã¦ã¼ã¹ã±ã¼ã¹ã«åãããå½¢ã§ããããï¼
åæ¢ãã§ã¯ãªãã§ãï¼ç¬ï¼ãOSSã¨ãã¦è¦ãã¨ãã«ãä¾ãã°Kafkaã¨æ¯ã¹ã¦ãã®æ©è½ããªãã®ã§è¿½ãã¤ããããã«ããããOSSã¨ãã¦ã®ä¾¡å¤ãé«ããããã«ããããã¨ããå½¢ã§éçºãã¾ãããå ·ä½çã«ã¯ãä»»æã®èªè¨¼æ©æ§ãçµã¿å ¥ãããããèªè¨¼é¨åããã©ã°ã¤ã³åãããªã©ã®åãçµã¿ããã¦ãã¾ããã
ââè¦å´ã¯ããã¾ãããï¼
æ åãå人çã«ã¯ã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã«è§¦ãã®ã¯åãã¦ã§ãæ¦å¿µãã³ã¼ãã®ç解ã®æ®µéã§è¦ãã¿ã¾ãããJavaã«ããéçºçµé¨ãããã»ã©ãªãã£ãã§ãããããã«OSSã¸åããéçºã¯ç¤¾å ã§ããã¾ãä¾ããªããå ãã¦åºå¼µã«è¡ã£ã¦ãããè±èªã§ãã£ã¹ã«ãã·ã§ã³ãã¦ããã§ãã¦ãããããã§ããï¼ç¬ï¼ã
åæ¢ãåã¯6é±éåããï¼Yahoo! Inc.ï¼ã«ãã¾ãããããã«ãã2人ã¯é¡åããã®æå³ã§1é±éã ãåºå¼µãã¦ãå¾ã¯æ¥æ¬ã«æ»ã£ã¦å ±åä½æ¥ãç¶ãã¾ããã
ââæ¥æ¬ã¨ç±³å½ã«åããã¦éçºããããã§ãããæå·®ã®åé¡ãªã©ã¯ã©ãä¹ãè¶ããã®ã§ããï¼
åæ¬ããã±ãã管çã·ã¹ãã ã«ããä»æ¥ãã£ããã¨ãã¨ãç¸è«ããããã¨ããæ¸ãã¦ãåããã«ä»»ããã¨ãã
æ åãã·ããå¶ã¿ããã«ãªã£ã¦ãã¾ããã
åæ¢ãæåã¯ãã¾ãåããªãã£ããã©ãã«ãããªããã°ãããªãã¨ãããã¨ã§ãæ¥ç±³ã§æ¥åæéãéãªãé¨åãã¡ãã£ã¨ã ãããã®ã§ããããªä¼è°ããããªã©ã工夫ãã¾ããã
èåãã¯ã¦ãªã§ããªã¢ã¼ãã®éçºããã¼ãã£ã³ã°ã¯ããã¾ãããã¡ã³ãã¼ã¯çå½å ãªã®ã§æå·®ã®ããéçºã®è©±ã¯æ°é®®ã§ããã
ââOSSã«åãçµãä¸ã§ãæ°æã¡ã«å¤åã¯ããã¾ãããï¼
æ åãããã¾ã§ç¤¾å åãã®éçºã§ã¯ç¤¾å¤ã®éçºè ã¸ã®æèã¯ç¹ã«ãªãã£ãã®ã§ãããYahoo! JAPANã§ãæè¡ãå¤ã«åºãã¦ãããã¨ããæµããåºã¦ãã¦ããã®ç¢å ã«ãã®è©±ããã£ãã®ã§ãéåæãªãæ°æã¡ãã·ãããã¦ããã¾ãããææ°ã®ãã®ã«è§¦ãããã¨ããæ°æã¡ããã£ãã®ã§ãããã¯ããããã£ãã§ããã
OSSã«åãçµããã®ã¯ãèªåã«ã¨ã£ã¦å æ ãªãã¨ã§ãããã³ã¼ããä¸ã®ä¸ã«åºãã¨ãããã¨ã§ã身ãå¼ãç· ã¾ããããªç·å¼µæãããã¾ããããå¤ãªã³ã¼ãã¯æ¸ããªããªãã¨ãã社å¤ã®äººã¨ã®ããã¨ããçºçããã®ã§ãããã¯ä»ã¾ã§ã«ãªãã£ããã¨ã§ããã
èåãå ¬éã«è³ãã¾ã§ã¯ãã¼ãºãªãã¼ã ã§éçºãã¦ããã¨æããã§ãããGitHubã§ã¤ã·ã¥ã¼ãæ¥ã¦ã¬ãã¥ã¼ãããããããå½ã¦ãã¨ãªã£ãã¨ããããããã¼ã ã§è¦ãä½å¶ã¯ã©ããã¦ãã¾ããï¼
æ åãããããï¼OSSã¨ãã¦ã®ããã¸ã§ã¯ã管çã«å½ã¦ãï¼æéã¯é±ã«ãããããåãã¾ãããã¨ãã話ããã¦ãã¾ããPulsarã社å ã«åºããæ´»åããã£ã¦ãã¦ãããã¨ä¸¦è¡ãã¦ç¤¾å¤ã»ããã¼ããã£ãããOSSã¨ãã¦ã®Pulsarãåºãã¦ããã¨ããæ´»åã両ç«ããã¦ããããã¨æã£ã¦ãã¾ãã
åæ¢ããªã¼ãã³ã½ã¼ã¹ã«ãã¦ããã¦ã¼ã¶ã¼ãã¡ã³ããã¼ãå¢ããªããã°ãã½ã¼ã¹ãå¤ã«åºããã ããã«ãªã£ã¡ããã¾ããå¤ãããææãããã ããé¨åãããã®ã§ããã£ãæ¹ããããã®ã¯ããããã¦ããã¾ãã
åªå ãOSSåã¨ãããã¨ã¯ãæ±ç¨åã®å´é¢ããã£ãã¨æãã¾ããã
æ åããã©ãããã©ã¼ã ã®é¨ç½²ãªã®ã§ãæ±ç¨åã®å´é¢ã¯ä»ã¾ã§ãããã¾ãããããã社å¤åãã«åºãã£ãã¤ã¡ã¼ã¸ã§ãã
èåãããã¯é説çãªè©±ã§ãããOSSã¯æ±ç¨çãªãã®ã«ããªãã¨ãããªãã®ã§ã社å äºæ ã¨ç¬ç«ãã¦éçºããããé¢ãããã¾ããã
åªå ããªã¼ãã³ãªæè¡ãã使ããªãããã®åã社å å°ç¨ã®æè¡ã«æ¯ã¹ãã¨ãæ°ããå ¥ç¤¾ãã¦ãã人ãç¥ã£ã¦ããå¯è½æ§ãããã¨ãããã¨ã§ããã
ââåæ¢ããã¯ATSã«ç¶ãã¦Pulsarã«åãçµãã ããã§ãããã²ãã£ã¨ãã¦Yahoo! JAPANã§ã¯OSSè¦å¡ãè²ã¦ããããªåãçµã¿ãï¼
åæ¢ãããããææã¯ããããããã¾ãããããOSSã£ã¦ã©ããããã®ã ã£ãï¼ãã誰ãåãããªãç¶æ³ã ã¨é£ããã¨ãããããã¾ããã©ã¤ã»ã³ã¹ããã£ã¡ãç解ãã¦ããªãã¨ãããªãããATSãããã§ããã社å ã«éããæè¡ãééãã¦å ¬éããªãããã«æ³¨æããå¿ è¦ãããã¾ãã
â ãã¯ã©ã¤ã¢ã³ãã®è¨èªã¯ã©ãã§ããï¼ã
åªå ãã¯ã©ã¤ã¢ã³ãã©ã¤ãã©ãªã¯ã©ããªè¨èªãããã¾ããï¼
æ åãä»ã¯Javaã§ãã社å ã§ã¯C++ã©ã¤ãã©ãªã使ã£ã¦ãã¾ãã
åæ¬ãããã¨ã試é¨æ®µéã§ããWebSocketã®ãããã³ã«ãå©ç¨ã§ãã¾ãã
èåãã¯ã¦ãªã®Mackerelã§ä»è¡ã£ã¦ããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã®å°å ¥ã§ã¯ãScalaãGoãªã©ããã®å©ç¨ãæ¤è¨ãã¦ãã¾ããAWSï¼Amazon Web Servicesï¼ã®Kinesisãã¯ã©ã¤ã¢ã³ãã©ã¤ãã©ãªã§å¯¾å¿ããããã°ã©ãã³ã°è¨èªã¯è±å¯ã§ããè¨èªã¯ããç¨åº¦ããã¨ããããã¨æã£ã¦ãã¾ãã
åæ¢ãç§ãã¡ã¨ãã¦ã¯ãä»ã®è¨èªãã¤ã³ãã£ã³ã°ãå¢ããäºå®ã¯ç¾ç¶ã§ã¯ãªãã¦ãã¨ããã®ã¯ãããããã®è¨èªåãã«ã¯ã©ã¤ã¢ã³ããä½ãã®ãé£ãããã§ããã¢ããªã±ã¼ã·ã§ã³å´ãã·ã³ãã«ã«ãããã®ã§ã
ã¯ã©ã¤ã¢ã³ãã©ã¤ãã©ãªã§ã¯ãµã¼ãã¼ãè½ã¡ãã¨ãã«æ°ãããµã¼ãã¼ã«åæ¥ç¶ãããªã©ã¨ã©ã¼ãã³ããªã³ã°ã®å¦çããã¦ãã¾ããããããã¢ããªã±ã¼ã·ã§ã³ä¸ã§ã¯è¦ããããªããããããæåã®é¨åã¾ã§å«ãã¦è¨èªãã¤ã³ãã£ã³ã°ãä½ã£ã¦ããã®ã¯æéããããã¾ãããã¡ãããOSSã¨ãã¦ä»ã®éçºè ãä½ã£ã¦ãããã®ã¯ã¦ã§ã«ã«ã ã§ãã
èåã社å ãã¼ãºã¯Javaã¨C++ã§ã«ãã¼ã§ãããã§ããï¼
åæ¢ãã¾ãã¾ãã«ãã¼ã§ãã¾ããä»ã®è¨èªã好ããªäººã¯ãã¡ãããã¾ããã
åªå ãWebSocketãã使ãå ´åããã¨ã©ã¼å¦çãªã©ã¯ãã¦ããããã§ããï¼
åæ¢ããã¦ããã¾ãã
èåãYahoo! JAPANã®ä¸ã§ããæ°ãããµã¼ãã¹ãæ§ç¯ããã®ã§ããã«Pulsarã使ãã¾ããããã¨ãã話ãããã°ãä»ã®ã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã使ã£ã¦ãã¦ãããPulsarã«ç½®ãæãã話ãããã¨æãã¾ãããããã移è¡ã®ã¨ãã½ã¼ãã¯ããã¾ããï¼
æ åãã¾ãã«ç§»è¡ãé²ãã¦ãã段éã§ããå¤ãæè¡ãä¼¼ãæè¡ããããPulsarã«ç§»è¡ãã¦ãã ãããã¨ç¤¾å åãã«å£°ãæãã¦ããéä¸ã§ããæ£ç´è¨ã£ã¦ããã£ãã大å¤ã§ãã
èåãPub/Subã®æ§è³ªä¸ããããããªæããSubï¼åä¿¡ï¼ããã¦Pubï¼é ä¿¡ï¼ã®ã¡ãªãããåºã¦ããããã§ããã
åæ¢ãPubãã人ã¨Subãã人ãåãã ã£ãã移è¡ã楽ãªãã§ããã©ãã
â ã¹ãã¬ã¼ã¸å±¤ããã£ã¦ã¡ãã»ã¼ã¸ãé·æéèç©ââPulsarã®ã¢ã¼ããã¯ãã£ã«è¿«ã
åªå ãã¡ãã»ã¼ã¸ãæ±ãå ´åãè¤æ°ã®ã·ã¹ãã ããã¾ãã¤ãªãããã¨ãããã°ã解æãããã¨ããé·æéä¿åãããã¨ãããããã£ãé«åº¦ãªè¦æ±ãåºã¦ããå ´åãããã¾ããã¡ãã»ã¼ã¸ãéãå´ãããããããã¾ãã¾ãªè¦æ±ã«ã¡ããã¨å¯¾å¿ããã®ã¯å¤§å¤ã§ããæ¯åãå°éãã§ãã¯ãããªããã°ãããªãã¨ãããããã諸ã ã®è¦æ±ããPub/Subåã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã«æãè¾¼ãã°ãã£ã¦ãããã®ã¯ãå©ããã¾ãã
åæ¢ããããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã®å½¹å²ã®ä¸ã¤ã§ããã¡ãã»ã¼ã¸ãéãããã¨ããéãå ãè½ã¡ã¦ãããããããªããã§ãããã¡ãã¡å¾ ã£ã¦ããããªããã¡ãã»ã¼ã¸ã³ã°ã·ã¹ãã ã使ããã¨ã§ãéãå´ã®å¦çã®è² æ ã軽ãã§ãã¾ãã
å¥ã®ã¦ã¼ã¹ã±ã¼ã¹ã¨ãã¦ãåãåãå´ããã£ããã¡ãã»ã¼ã¸ãåãåã£ããã ãã©ããããä¸åæµãã¦ãããªãï¼ãã¨è¦æ±ããä¾ãããã¾ããä¾ãã°ã¡ãã»ã¼ã¸ãåãåã£ã¦å¦çããã¨ãã«ãã°ããã£ãã¨ãã1æ¥åã«ããã®ã¼ã£ã¦å¦çãããå ´åãå ã®éã主ã«ä¾é ¼ãã¦ããããæ®ã£ã¦ããªããPulsarã®å ´åãè¨å®å¯è½ãªããä¸å®æéã®ã¡ãã»ã¼ã¸ãèãã¦ããã¾ãã
èåãåºæ¬çãªç¹æ§ã¨ãã¦ã対å¿ããSubï¼åä¿¡å´ï¼ããACKï¼ç¢ºèªå¿çï¼ãåãåãã¨ãPubï¼é ä¿¡å´ï¼ã¯ãããªãããæ¨ã¦ã¦ãã¾ãåä½ã«ãªãã¨æããã§ããã©ãåéã¨ã¯éã次å ã§ãå¾ããéãã¡ãã»ã¼ã¸ãã¹ãã¬ã¼ã¸ã«æã£ã¦ããå½¢ã§ããããã
åæ¢ãããã§ããåéã¨ãå¾ããã¡ãã»ã¼ã¸ãéãé¨åã¯å¥ã®ã¬ã¤ã¤ã§ããACKã®ã«ã¼ã½ã«ç®¡çã¯ãã¦ãã¾ããACKãè¿ã£ã¦ããªãã£ããåéãããã¨ããå¦çã¯å½ç¶ãã£ã¦ãã¾ããã¡ãã»ã¼ã¸ãåãåã人ãè¤æ°ããå ´åãã¿ããªãä¸ç·ã¨ã¯éãã¾ãããåãåãã¨ãæã®ã¨ããããèªã¿ç´ããªãã¨ãããªãã
åªå ãPulsarã®ã¢ã¼ããã¯ãã£ã«ã¤ãã¦ã§ãããreadã¨writeã§èªããã£ã¹ã¯ãç°ãªãããã«ã§ããã¨ãããã¨ã§ããããã¥ã©ããªãã£ã¨ã¬ã¤ãã³ã·ã®ä¸¡ç«ã®å·¥å¤«ã¨é¢ä¿ãããã®ã§ããããï¼
æ åãä¾ãã°Kafkaã ã¨ã¹ãã¬ã¼ã¸ã®å±¤ã¯ããã¾ããããPulsarã§ã¯æ°ãã«è¨ãã¦ãã¦ã仲ä»ããBrokerã¨å¼ã¶ã³ã³ãã¼ãã³ãã¨ãã¡ãã»ã¼ã¸ãããã¦ããBookKeeperã¨ããã³ã³ãã¼ãã³ããåãã¦ãã¾ãããã®é¨åããPulsarã¨Kafkaã®ã¢ã¼ããã¯ãã£ãæ¯è¼ããã¨ãã«é¡èã«éãé¨åã§ããBookKeeperã¯å¥ã®ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã§ãåæ£ã®ãã°ã·ã¹ãã ã¨ãããã
ããã§ãreadã¨writeã®ãã£ã¹ã¯ãç©ççã«åãã¦éããããã¨ããPulsarã®æ§è½ã«å¯ä¸ãã¦ããã¨ã¯æãã¾ãã
åªå ãBookKeeperã£ã¦ãã©ã¤ãã¢ããããã°ï¼Write Ahead Logããã°å è¡æ¸ãè¾¼ã¿ï¼ã¨ããããã¬ããªã±ã¼ã·ã§ã³ãã°ã¿ãããªæãã§ããããæ¸ãå´ã¯ãã£ã¡ã«æ¸ãã¦ãèªãå´ã¯ãã®å ã§èªãã°ãããã¿ãããªæãã§ããï¼
æ åãã©ã¤ãã¢ãããã®ã¸ã£ã¼ããªã³ã°ã®é¨åããã©ã³ã¶ã¯ã·ã§ã³ãæ¸ãé¨åã ããã£ã¹ã¯ãå¥ã«åããã¦ããã¿ãããªãããã ãSSDã¿ãããªéãã®ãã®ãç¨æãã¦ããã¨ããã£ã¡ã¯å®å ¨ã«ä»ã®readã®å¦çã¨åãé¢ããã¨ãã§ããã®ã§ãç¹ã«èªã¿è¾¼ã¿ãã ã¼ã£ã¨ããããçºçããã¨ãã«ãæ¸ãè¾¼ã¿ã¯ããããã§ãã¾ããããã§ãã¾ãã¬ã¤ãã³ã·ãæãããã¨ãéæãã¦ããã¨ã
åæ¢ããã£ã¨å³å¯ãªè©±ãããã°ããã¥ã¼ãã¹ã ã¼ãºã«æµãã¦ããã¨ãã¯Brokerã®ãªã³ã¡ã¢ãªï¼ã«ãããã¼ã¿ï¼ã ãã§æ¸ãããã£ã¦ãããã§ãããæ°¸ç¶æ§ãå®ç¾ããããã«ã¹ãã¬ã¼ã¸ã«æ¸ãè¾¼ãã§ã¯ãã¾ããã©ãããã¯ã¸ã£ã¼ããªã³ã°ãã°ã«æ¸ãã¦ããã ãã§ãè£å´ã§ã¯éåæã«ãã©ãã·ã¥ï¼ãã£ã¹ã¯ã¸ã®æ¸ãè¾¼ã¿ï¼ããã¦ããããªã®ã§ãããã¯æ¸ãè¾¼ã¿æ§è½ã«å½±é¿ãã¾ãããèªã¿è¾¼ãã¨ããã¡ã¢ãªã«ãªããã°ï¼ã¹ãã¬ã¼ã¸ããï¼èªãã§ããããã§ããã©ãæ¸ãè¾¼ãé¨åã¨èªã¿è¾¼ãé¨åã¯åããã¦ããã®ã§ãã©ãã ãæ¸ãè¾¼ã¾ãç¶ãã¦ãèªãã®ã¯ç¬ç«ã«ã§ããã
åªå ããªãã»ã©ãCassandraãªã©ã§æ¡ç¨ããã¦ããLSM-treeãªãããããã«è¿ãä½ãã§ãããããã ããæ¸ãè¾¼ããã£ã¹ã¯ã¨èªã¿è¾¼ããã£ã¹ã¯ãåããæ©æ§ã¯Pulsarç¬èªã®ãã®ããããã¾ãããã¢ã¼ããã¯ãã£ãé¢ç½ãã¨ããåãå£ã§èå³ãæã¤äººãããããã¨æãã¾ããã
èåãæã ã¯ãæç³»åDBã®ãã¥ã¼ãªã©ã使ãã¨ãããã®ã³ã³ãã¼ãã³ãã¯ãªã³ã¡ã¢ãªã«ãã¼ã¿ãæã£ã¦ãããããè½ã¡ãã¨ï¼ãã¼ã¿ãï¼ãã¹ããããã¨ãã£ãã¤ãããã®ã«å°ãã¤ãã¦ãããã§ããã©ãPulsarã®Brokerã¯ãªã³ã¡ã¢ãªã§ãã¼ã¿ãæã¤ããã§ãããPulsarã§ã¯ã¯ã©ã¹ã¿ã®ä¸é¨ãã¯ã©ãã·ã¥ãã¦Brokerã®ã¡ã¢ãªã®ä¸èº«ãé£ãã å ´åãã¹ãã¬ã¼ã¸ãããã¼ã¿ãæã£ã¦ãã¦ä½ã¨ããªãä½ããªãã§ããï¼
åæ¢ãããã§ãã
åªå ããã®ããã®ã©ã¤ãã¢ããããã°ã§ãããã
ââæ¬æ¥ã¯ã©ãããããã¨ããããã¾ããã
座è«ä¼ã¯ããã¾ãã¾ãªãã¼ãã£ã³ã°ã¹ãã¼ã¹ãããã¯ã³ããã¢ã®ä¸è§ã®ãªã¼ãã³ãªååã§è¡ã£ããçªããã¯æ°¸ç°çºã赤åä¸å¸¯ãä¸æã§ããã
ä¸ã®ä¸ã«ãè²¢ç®ããããã©ãããã©ã¼ã ã¨ã³ã¸ãã¢åé
Yahoo! JAPANã®å¤§è¦æ¨¡ã¤ã³ãã©ãæ°ãããã¯ããã¸ã¼ã§é²åããããã©ãããã©ã¼ã ã¨ã³ã¸ãã¢ãåéãã¦ãã¾ãã
社å¤ã®äººã§ãå©ç¨ã§ãããã³ã¯ã¼ãã³ã°ã¹ãã¼ã¹ãã«ä½µè¨ãããã«ã¦ã³ã¿ã¼ãããã³ãLODGE Kitchenï¼ããã¸ã»ãããã³ï¼ãã調çå¨å ·ãã調å³æã¾ã§åããã¤ãã³ããªã©ã§å®éã«é£äºãæä¾ã§ããã
â Dellã®28å4Kãã£ã¹ãã¬ã¤ãS2817Qãã1åæ§ã«ãã¬ã¼ã³ãï¼
è¨äºããèªã¿ã®æ¹ã®ä¸ããæ½é¸ã§1åæ§ã«ãDellã®28å4Kãã£ã¹ãã¬ã¤ãS2817Qãããã¬ã¼ã³ããããã¾ããå¿åæ¹æ³ã¯ãä¸è¨ã®å¿åè¦é ãã覧ãã ããã
ï¼ãã¬ã¼ã³ãå¿åè¦é ï¼
- å¿åæé
- 2016å¹´12æ12æ¥ï¼æï¼ãã2016å¹´12æ25æ¥ï¼æ¥ï¼24æã¾ã§
- è³åã¨å½é¸äººæ°
- Dell ãã£ã¹ãã¬ã¤ ã¢ãã¿ã¼ S2817Qã1åæ§
- å¿åæ¹æ³
- Twitteré£æºããä¸ã§ããã®è¨äºãã¯ã¦ãªããã¯ãã¼ã¯ã«è¿½å ãã¦ãã ãã
â»ãã©ã¤ãã¼ãã¢ã¼ãã§ã®ãå©ç¨ã¯å¯¾è±¡å¤ã§ã - å½é¸çºè¡¨
- å³æ£ãªãæ½é¸ã®å¾ãæ¬è¨äºã§ãå½é¸è æ§ãçºè¡¨ããã¦ããã ãã¾ã
- è³åçºé
- å½é¸çºè¡¨å¾ãã¯ã¦ãªããã¡ã¼ã«ããéãããéä»å
æ
å ±ï¼éä»å
ä½æãåå人æ°åãé»è©±çªå·ï¼ããèããã¾ã
â»ãã¬ã¼ã³ãã®çºéã¯æ¥æ¬å½å ã«éããã¦ããã ãã¾ã
â»å½ãã£ã³ãã¼ã³ã¯Dellã®æä¾ã»åè³ã«ãããã®ã§ã¯ããã¾ããã
â 2017å¹´1æ5æ¥è¿½è¨ï¼ãã¬ã¼ã³ãå½é¸è çºè¡¨ï¼
å³æ£ãªæ½é¸ã®çµæãå½é¸ãããæ¹ãçºè¡¨ãã¾ããããã§ã¨ããããã¾ãï¼
Dell ãã£ã¹ãã¬ã¤ ã¢ãã¿ã¼ S2817Q Ã1åæ§
- id:Konboi æ§
å½é¸è ã®æ¹ã«ã¯ãã®ã¡ã»ã©éä»å æ å ±ã確èªããã¡ã¼ã«ããéããããã¾ãã
- â»ææ¥ã¾ã§ã«ãè¿ä¿¡ãããã ããªãã£ãå ´åã¯ãå度æ½é¸ãå®æ½ããç¹°ãä¸ãå½é¸è ã¸å½é¸æ¨©ãã渡ããã¾ãã
- â»ç¹°ãä¸ãå½é¸ãçºçããå ´åãçºè¡¨ã¯ãã¯ã¦ãªããã®å½é¸é£çµ¡ããã£ã¦ä»£ãããã¦ããã ãã¾ãããäºæ¿ãã ããã
[PR]ä¼ç»ã»å¶ä½ï¼ã¯ã¦ãª
åæã»æ§æï¼æ æé
åçï¼å°é« é
ä¹