ãããã¤ã³ã¹ãã¼ã«ä»£è¡¨ã®ã©ã¤ãããã¯ããã°
Posted on | 12 æ 9, 2008 | ãªãæè¿ãTokyo CabinetãTokyo Tyrantã¨è¨ãç¶ãã¦ããã®ãï¼ã¨è¨ãã¨ãmemcacheã®ä»£æ¿ã¨ãã¦ä½¿ããªãããªã¼ã¨æã£ã¦ããããã§ããããæè¿ãcakePHPããããªãã§ãããã»ãã·ã§ã³ã¹ãã¬ã¼ã¸ã¨ãã¦memcacheã使ãã±ã¼ã¹ãå¤ããªã£ã¦ãã¦ããæ°ããã¦ãã¾ããèªåèªèº«ãä»äºã§ä½ãã¢ããªã±ã¼ã·ã§ã³ã®ä¸é¨ã«ã¯ã»ãã·ã§ã³ã¹ãã¬ã¼ã¸ã§ã¯ç¡ãã®ã§ãããmemcacheãã¹ãã¬ã¼ã¸ã¨ãã¦å©ç¨ãã¦ããã±ã¼ã¹ãããã¤ãããã¾ãã ãããã®éç¨ããã¦ããä¸ã§ãæ°ãã¤ããã®ã¯ãmemcacheãè½ã¡ããæ¶ãããããããªããã¨è¨ãäºã§ãããããã¬ããªã±ã¼ã·ã§ã³ãã¦ããã¨ãã¦ããè½ã¡ããæ¶ãã¾ããããããã£ã±ãã ä»®ã«ãã°ã¤ã³ã»ãã·ã§ã³ãmemcacheã«ã¹ãã¬ã¼ã¸ãã¦ããå ´åããmemcacheãè½ã¡ãããã°ã¢ã¦ããããããª
åæ£Key-Valueã¹ã㢠kumofs ããæ¬æ¥ãªã¼ãã³ã½ã¼ã¹ã½ããã¦ã§ã¢ã¨ãã¦ãªãªã¼ã¹ãã¾ããï¼ kumofs@SourceForge kumofsé¢é£è³æã¾ã¨ã kumofsã¨ã¯ï¼ kumofsï¼ã¯ã¢ã¨ãã¨ã¹ï¼ã¯ãå®ç¨æ§ãéè¦ããåæ£ãã¼ã¿ã¹ãã¢ã§ããã¬ããªã±ã¼ã·ã§ã³æ©è½ãåããä¸é¨ã®ãµã¼ãã¼ã«é害ãçºçãã¦ãåä½ãç¶ãã¾ããåä½ã§ãé«ãæ§è½ãæã¡ãªããããµã¼ãã¼ã追å ãããã¨ã§èªã¿ã»æ¸ã両æ¹ã®æ§è½ãåä¸ããç¹å¾´ãæã¡ãä½ã³ã¹ãã§æ¥µãã¦é«éãªã¹ãã¬ã¼ã¸ã·ã¹ãã ãæ§ç¯ã»éç¨ã§ãã¾ãã kumofsã®å¤§ããªç¹å¾´ã¯ãã·ã¹ãã ã®æ§æã®ç°¡åã«å¤æ´ã§ããç¹ã§ããã·ã¹ãã ãæ¢ãããã¨ãªããç°¡åãªæé ã§ãµã¼ãã¼ã追å ããã復æ§ãããã§ãã¾ããã¢ããªã±ã¼ã·ã§ã³ã«ã¯ä¸åå½±é¿ãä¸ãã¾ããã ã¾ãkumofsã¯ãåºãå©ç¨ããã¦ããåæ£ãã£ãã·ã¥ã·ã¹ãã ã®ãmemcachedãã¨äºææ§ã®ãããããã³ã«ãå®è£
æ ªå¼ä¼ç¤¾ãã¯ã·ã£ éçºé¨ ã·ã¹ãã éç¨ã°ã«ã¼ãã®é·éã§ããæ®æ®µã¯ãã¯ã·ã£ã®ã¢ããªã±ã¼ã·ã§ã³éç¨ãæ å½ãã¦ããã¾ããä»åããæ°åã«ããããæè¿Webã¢ããªã±ã¼ã·ã§ã³ã®ã¹ã±ã¼ã©ããªãã£ã®åéã§è©±é¡ã«ãªã£ã¦ããmemcachedã«ã¤ãã¦ãå¼ç¤¾éçºé¨ ç 究éçºã°ã«ã¼ãã®ååã¨ã¨ãã«ã使ãæ¹ãå é¨æ§é ãéç¨ã«ã¤ãã¦è§£èª¬ããã¦é ãã¾ãã memcachedã¨ã¯ memcachedã¯ãLiveJournalãéå¶ãã¦ããDanga Interactive社ã§ãBrad Fitzpatrickæ°ãä¸å¿ã¨ãªã£ã¦éçºãããã½ããã¦ã§ã¢ã§ããç¾å¨ã§ã¯mixiãã¯ã¦ãªãFacebookãVoxãLiveJournalãªã©ããã¾ãã¾ãªãµã¼ãã¹ã§Webã¢ããªã±ã¼ã·ã§ã³ã®ã¹ã±ã¼ã©ããªãã£ãåä¸ãããéè¦ãªè¦ç´ ã«ãªã£ã¦ãã¾ãã å¤ãã®Webã¢ããªã±ã¼ã·ã§ã³ã¯ãRDBMSã«ãã¼ã¿ãæ ¼ç´ããã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã§ãã®ãã¼ã¿
â»åæ£Key-Valueã¹ãã¢ãkumofsããå ¬éãã¾ããï¼ å æ¥éå¬ãããKey Value Storeåå¼·ä¼ã«è¡ã£ã¦ãã¾ãããç§ã®çºè¡¨è³æã¯âãããããã¦ã³ãã¼ãã§ãã¾ãã kvs-kumofs.pdf åããã¦èªãã¨ç解ãæ·±ã¾ããããããªãï¼ ã¹ãã¼ããªåæ£ã§å¿«é©ãã£ãã·ã¥ã©ã¤ã - mixi Engineer's Blogï¼Consistent Hashã«ã¤ã㦠ãã¤ããªã·ãªã¢ã©ã¤ãºå½¢å¼ãMessagePackãï¼kumofsã®ãããã³ã«ãé«éãªã¹ããªã¼ã ãããã¡ã¨ã¹ããªã¼ã ãã·ãªã¢ã©ã¤ã¶ã®å®è£ ãå«ã¾ãã¦ãã¾ãã Protocol Buffersã¯é ãï¼MessagePackã®ãã³ããã¼ã¯ã¨Protocol Buffersã¨ã®æ¯è¼ãã¿ã¤ãã«ã¯é£ãã memstoredï¼IOã¢ã¼ããã¯ãã£ã®ãããã¿ã¤ãã³ã° ãã«ãã³ã¢æ代ã®é«ä¸¦åæ§IOã¢ã¼ããã¯ã㣠Wavy memcached
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}