2010-01-01ãã1å¹´éã®è¨äºä¸è¦§
ã¾ã大åãã¼ã£ã¦ãã¾ã£ãããã¨ãããã¨ã§ãokuyama-0.8.4ããªãªã¼ã¹ãã¾ããã 0.8.4ã®ãã¨ã®åã«ããã«ã¯ã0.8.0以éã®ãã¨ãä½ãè¨ãã¦ããªã®ã§ã 追å ããæ©è½ããã§ãã軽ãæ´çããã¨ã â 0.8.1 ã»ãã©ã³ã¶ã¯ã·ã§ã³ãã°ãã¡ã¤ã«ãä¸å®ãµã¤ãºã§èªåçã«â¦
ç¸å½ããããµãã£ã¦ãã¾ãã¾ããã æ¸ããã¨ä¸æ¯ãããã§ãã(gumiããåå¼·ä¼ã§ããã¹ãã¾ããã¨ããOSCæ±äº¬ã¨ã)ã åãåããokuyamaã®0.8.0ã®ãã¨ãæ¸ãã¾ãã åå0.7.0ããªãªã¼ã¹ãã¦ãã2ã¶æå以ä¸éçºããã®ã§ãããããã¾ã§ã¯ ãã£ã¨çæéã«ãªãªã¼â¦
ãªã¼ãã³ã½ã¼ã¹ã«ã³ãã¡ã¬ã³ã¹ï¼ åå¤å±ã«åå ãã¦ãã¾ããã okuyamaã®ã»ããã¼ãå®æ½ããã¦ããã ããå¤ãã®æ¹ã¨ã話ã§ã ã¨ã¦ã楽ãããåå¼·ã«ãªãæéããããã¾ããã åå¤å±ã®ã³ãã¥ããã£ã¼ã®æ¹ã ã®çãä¸ããæ¹ã¯åãã§ãã!! å§åããã¾ããã å¾ãâ¦
ãªã¼ãã³ã½ã¼ã¹ã«ã³ãã¡ã¬ã³ã¹@Kansai-京é½ã«åå ãã¦ãã¾ããã åæ¥ã®1æ ç®ã®ã»ããã¼ã§è¬å¸«ãåãããã¦ããã ãã¾ãããã 天æ°ã®æªãä¸å¤ãã®ããã«åå é ãã¾ããããããã¨ããããã¾ããã åé·åã®ãã¢ã§ã¯çå´ã®ãµã¼ãã®é»æºãæãã¨ãããã¢ããâ¦
7æ9æ¥ã10æ¥ã«éå¬ããã ãªã¼ãã³ã½ã¼ã¹ã«ã³ãã¡ã¬ã³ã¹é¢è¥¿@京é½ã§ okuyamaãé¡æã«ã»ããã¼ãéå¬ããã¦ããã ã ãã¨ã«ãªãã¾ããã OSCé¢è¥¿ã®ãã¼ã¸ http://www.ospn.jp/osc2010-kyoto/ ã»ããã¼ã®ãã¼ã¸ http://www.ospn.jp/osc2010-kyoto/modules/eguâ¦
okuyamaã®ãã¼ã¸ã§ã³0.7.0ããªãªã¼ã¹ããã®ã§ã¾ã¨ããæ¸ãã¾ããä»åã®ãªãªã¼ã¹ã¯çµæ§å¤§ããæ©è½è¿½å ããã¾ãããâ 1ã¤ç® å¾æ¥ã®okuyamaã¯ãã¹ã¿ã¼ãã¼ããè¤æ°ã§ç¨¼åããã¦åé·åããããã¨ã¯åºæ¥ããã§ããã ãã®å ´åãã©ãã1ã¤ãã¡ã¤ã³ãã¹ã¿ã¼ãã¼ãã«â¦
okuyamaã®ãã¼ã¸ã§ã³0.6.6ããªãªã¼ã¹ãã¾ããã ä»åã®å¤æ´ç¹ã¯okuyamaã®ãã¼ã¿ãã¼ãã"ãã¼ã¿ãã¼ã"ã"ã¹ã¬ã¼ããã¼ã¿ãã¼ã"両æ¹ã èµ·åãã¦ããå ´åã«çå´ã®ãã¼ãããã¦ã³ãã¦ãèµ·åãã¦ããå ´å(ãã¦ã³ãããã¼ã㨠åãIPãPortã§ããã°å½è©²ãã¼ãã¨â¦
ãã®åokuyamaã®æ§è½æ¸¬å®ã®çµæãæ¸ãã¾ãããã ããã§"ãã©ã³ã¶ã¯ã·ã§ã³ãã°ï¼ãã¼ã¿ãã¡ã¤ã«ã§ã®æ°¸ç¶åã¢ã¼ã"ã§ã®æ§è½ã§ 5ä¸QPSåºã¦ããã®ã§ãããããã£ã¦æ¬å½ã«ãã¡ã¤ã«Readãã¦ãã®ãã£ã¦ æªããã£ãã®ã§ãå度æ¤è¨¼ãã¦ã¿ã¾ããã [測å®æã®æ§æ] ãâ¦
ãã¾ã¾ã§åæ£ãã¼ããªã¥ã¼ã¹ãã¢ã®okuyamaã®æ§è½ãè¨æ¸¬ãã¦ããã®ã¯ Dellã®ãã¼ããã½ã³ã³ãã10å¹´ãããåã®PCããAMD2Coreã®ãã¹ã¯ãããã ã£ãã èªç±ã«è§¦ãããã·ã³ããã®ç¨åº¦ãããªãã£ããã ãã©ãä»åDellã®Xeonæè¼ã®ãã·ã³(PowerEdgeT110)ã 触ãæ©â¦
okuyama-0.6.3ããªãªã¼ã¹ãã¾ããã ä»åã®å¤æ´ãã¤ã³ã㯠â ãã¼ã¿ãã¼ããmemcacheã®ãã¼ãã¨ãã¦å©ç¨å¯è½ã« okuyamaã¯ãã¹ã¿ã¼ãã¼ãããã¼ã¿ãã¼ãããã©ã³ã¶ã¯ã·ã§ã³ãã¼ã㧠æ§æããã¦ãããã§ããããã åã«ãã¼ã¿ããã£ãã·ã¥ã¨ãã¦ä¿åããå ´å㯠â¦
ä¹ ã ã«æ¥è¨åæ£KVSãokuyamaãã®Version-0.6.2ããªãªã¼ã¹ãã¾ããã ä»åã®ãªãªã¼ã¹å 容ã¯ä¸»ã«memcache対å¿ã¨ããã¼ã¿ãã¼ããªã«ããªã¼æã® ãã¼ã¿è»¢éæ¹å¼ã®å¤æ´ã§ãã memcache対å¿ã¯ä»¥ä¸ã®3ç¹ã§ãã 1.memcacheã®ã¡ã½ããã§ããaddã«å¯¾å¿ æªç»é²ãã¼ã¿ã®â¦
ååããã°ã§æ¸ãã¾ãããkvs使ã£ãæ¥åã¢ããªæ§ç¯ã§ãã å¾ã ã«åºæ¥ä¸ãã£ã¦ãã¾ããã è¨è¨ã¯ååã®å 容ã©ãããªãã§ãããå®éã«ãã¼ã¿å ¥ã㦠åãåºãã¨ãããã1ã½ã¼ããã¿ã¼ã³ã§ããã§ãã¾ããã å®éã«åããã¦è¦ãã¨ããã ã¡ããã¨åãã¦ããããªãâ¦
æ¨æ¥ã®æ¥è¨ã§å°ãæ¸ããã®ã§ãããç¾å¨ä»äºã§okuyamaãã¡ã¤ã³ã¹ãã¬ã¼ã¸ã¨ã㦠ã¢ããªã±ã¼ã·ã§ã³ãä½æä¸ãããã§æãããã¨ãã¡ã¢ã okuyamaä½ã£ã¦ã¾ããæ¥åã§ã¯kvsã¯ãã£ãã·ã¥ã¨ãã¦ãã使ã£ããã¨ãªãã£ãã®ã§ããã ã¡ã¤ã³ã¹ãã¬ã¼ã¸ã¨ãã£ã¦ããããâ¦
okuyama Ver0.6.0ããªãªã¼ã¹ãã¾ããã ä»åã®è¿½å æ©è½ã¯ãåæ£ããã¯ã§ãã 詳ããæ©è½ã¯okuyamaãªãªã¼ã¹ç©ã®ReadMe.txtãæç²ã - â åæ£ããã¯æ©è½ã追å +ä»»æã®ãã¼ã¿ãããã¯ããæ©è½ã追å ã +åæ£ããã¯æ©è½ã¯ãã¹ã¿ã¼ãã¼ãç¨è¨å®ãã¡ã¤ã«ã§ãããMaâ¦
KVSã¦ã¼ã¶ã¼ã°ã«ã¼ããGoogleã°ã«ã¼ã㧠ä½æãã¾ããã ååã¯kvs-jaã§ãã kvsã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãæ°¸ç¶åç¹æ§ãåæ£ã ã¹ã±ã¼ã«ã¢ã«ã´ãªãºã ãªã©ã®è°è«ããæ¡å¼µå©ç¨ã® å¯è½æ§ãªã©ãä¼è©±ãåºæ¥ãã°ã¨æã£ã¦ãã¾ãã è²ã ãªæ¹ã¨æè¦ã交ãããã°ã¨æãã¾ãâ¦
ä»æ´ãªãã§ãããmemcacheéã£ï¼ï¼ã¦æãã¾ããã Windowsçã§è©¦ãããã§ãããåãç°å¢ã§ã¯ã©ã¤ã¢ã³ãåãã㦠10ä¸ä»¶ã»ã©setãããã§ããã6500QPSä½åºãã åãã¯ã©ã¤ã¢ã³ã使ã£ã¦okuyamaã§è©¦ãã¨ã å®å ¨ã¡ã¢ãªã¢ã¼ã3600QPSä½ã§ããã¡ã¤ã«ä¿åã¢ã¼ãã§ãâ¦
okuyama-ver0.5.2ããªãªã¼ã¹ãã¾ããã ä»åã®ç®çã¯memcacheã®ãããã³ã«å¯¾å¿ã§ãã ã¾ã æåã®è¡ãã¼ã¹ã®ã¿ã§ãsetãgetã ã対å¿ã§ãã å¾ãflagãæå¹æéã¯å¯¾å¿ãã¦ãªãã¦ã32bitå¤ã¯ç»é²å¯è½ã§ãã okuyamaã¯ã©ã¤ã¢ã³ãã¨ãããã³ã«ã®çµã¿åããã«æ¯ã¹â¦
"okuyama Ver0.5.1"ã«ã¦PHPç¨ã®ã¯ã©ã¤ã¢ã³ããä½æãã¾ããã Byteãã¼ã¿ã®ç»é²ã¨åå¾ä»¥å¤ã¯å®è£ ãã¾ããã http://sourceforge.jp/projects/okuyama/releases/ ã¾ãåæ£ãã©ã³ã¶ã¯ã·ã§ã³ããé ããã£ã¦ããããã okuyamaããããã¤ã³ã¿ã¼ãããç 究ææ§ã®bâ¦
æ¬å½ã¯åæ£ãã©ã³ã¶ã¯ã·ã§ã³ã®ã㨠èãããã¨ãã¦ããã©ãæãã¤ãããã å®è£ ãã¦ã¿ããå 容ã¯ãã¼ã¿åå¾ã¡ã½ããã«JavaScriptã 渡ããããã«ãã¦ããã¼ã¿ãåå¾åºæ¥ãã ãã®ãã¼ã¿ã«å¯¾ãã¦ã¹ã¯ãªãããå®è¡ã§ãã¾ãã ãã¼ã¿ãã¼ãã§å®è¡ãããããCPUâ¦
okuyama0.4.0ããªãªã¼ã¹ãã¾ããã http://sourceforge.jp/projects/okuyama/åæ£ãã©ã³ã¶ã¯ã·ã§ã³ãå®è£ ããåã«ãä»ãããæ©è½ãä¸éãå®è£ ã 追å æ©è½ã¯ä»¥ä¸ã â ãã¼ã¿ãã¼ãã®åç追å ããµãã¼ã â ãã¼ã¿ãã¼ã追å å¾ã«æ°ãããã¼ãã¸ãã¼ã¿ã®ç§»è¡ãè¡ãâ¦
ä»æ¥ã¯ãªã¼ãã³ã½ã¼ã¹ã«ã³ãã¡ã¬ã³ã¹Kobeã« åå ãã¦ãã¾ãããç§ã¯ä¼ç¤¾ãåè³ãã¦ãã®ã§ã åºå±å´ã§åå ãããããã¹ã´ã¤çãä¸ããã§ããã å¤ãã®æ¹ã¨ãã話ã§ããå®ã«ææ義ãªæéã éãããã¦é ãã¾ããããã¦ãå ´æãæ親ä¼ã«ç§»ãã¦ç¬¬äºé¨ã¹ã¿ã¼ãï¼â¦
ä½ã¨ã風éªããå復ã ä¼ç¤¾è¡ã£ããä»äºå±±ç©ã¿ã ã¼ã ã¾ãèªæ¥èªå¾ã§ãããokuyamaãã¿ã§ã ä»æ¥ã¯kvsã§ã®åæ£ããã¯ãèãã¦ã¿ã¾ãã chubbyã¨ãZookeeperãæåã§ããã 使ãã¨ãããã©ãããã®ã使ãããããã§ãããã æ¹æ³ã¯Paxos? Zab? ãããããããâ¦
ä»æ¥ã¯ä¸æ¥é¢¨éªã§ãã¦ã³ãã¦ã¾ããã ä¹ ã ã«ç±åºããªãã æããç é¢è¡ã£ã¦è¬é£²ãã§ãã¦ããå°ãJavaãã¿ã Javaã§å¤æ´ãããªãå¤æ°(å®æ°)ã宣è¨ããå ´åã« finalãä»å ããã¨æãã¾ãããããããã¨ã³ã³ãã¤ã«æã« åç §ãã¦ããç®æã¯ã³ã³ãã¤ã©ã¼ãfinal宣â¦
ApacheãTomcatãªã©ã®ããã©ã«ãã¢ã¯ã»ã¹ãã°ãã©ã¼ãããã§ãã Common Log Formatãããã¹ãå¥ã®ã¢ã¯ã»ã¹åæ°ã調ã¹ãã¯ã³ã©ã¤ãã¼ã cat access_log | cut -d - -f 1 | sort | uniq -cããä¸åsortå ¥ãã¦ã¢ã¯ã»ã¹åæ°é ã¨ãã風éªã²ãã¾ããã ãããã¨ãâ¦
åæ¥è¨æ¸ãã¦ã¿ã¾ãããããªãããã°ã©ãã¼ãã£ã¦ã¾ãã Javaã¨ã使ã£ã¦ãä»äºããã°ã©ã ããªããã趣å³ã§ kvsã¨ããªãã¡ãã£ã¦DBã¨ãä½ã£ã¦ã¾ãããããªãã¨ã Pure-Javaæ°¸ç¶å対å¿ã®åæ£ãªã³ã¡ã¢ãªKey-Valueãokuyamaã http://sourceforge.jp/projects/okâ¦