ãã®ãã©ã¦ã¶ ãã¼ã¸ã§ã³ã®ãµãã¼ãã¯çµäºãã¾ããããµãã¼ãããã¦ãããã©ã¦ã¶ã«ã¢ããã°ã¬ã¼ããã¦ãã ããã
Jeff Dean ã Chrome ã®ããã«æ¸ãããã¼ã¿ãã¼ã¹ã©ã¤ãã©ãª LevelDB ã«ã¤ãã¦ããã¥ã¡ã³ããã³ã¼ããè¦ãªããåäºãç´¹ä»ãã¾ãã google/leveldb: LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. Bigtable: A Distributed Storage System for Structured Data Kyoto Cabinet dain/leveldb: Port of LevelDB to Java Skip List Follow-up research!rsc: The vgo proposal is accepted. Now
ç§ã¯ä»äºã§åæ£åãªãã¸ã§ã¯ãã¹ãã¢è£½åã®éçºã«æºãã£ã¦ãã¾ãï¼Amazon S3 ã®ãããªãã¨ããããµã¼ãã¼è£½åã§ãï¼ãã¾ãããã©ã¤ãã¼ãã®æéã§ã¯ãç»åãªã©ã®å¤§ããã®ãã¼ã¿ã«ã対å¿ã§ãããåæ£å NoSQL ã®éçºããã¦ãã¾ãããªã®ã§ãã®åéã¯å°éãªã®ã§ããã LevelDB ã¯æ ¼ç´ã§ãããã¼ããªã¥ã¼ã®ãµã¤ãºã«å¶éãè¨ãã¦ããªãã®ã§ãç»åãã¼ã¿ï¼æ°ç¾KBããæ°MBï¼ãæ ¼ç´ãããã¨ã¯ç©ççã«ã¯å¯è½ã§ãããããã®ç¨éã«åãã¦ãããã¨ããã¨ãããã§ã¯ããã¾ããã çç±ã¯ãLevelDB ã§ã¯ããã¼ããªã¥ã¼ããã£ã¹ã¯ã«æ ¼ç´ããéãæ°ç¾ããæ°åä¸ã¨ãããã¼ããªã¥ã¼ãï¼ã¤ã®ãã¡ã¤ã«ï¼SSTable ã¨è¨ãã¾ãï¼ã«ã¾ã¨ããªããã¨ã«ã¯ãæ§è½ãçºæ®ã§ããªãããã§ããSSTable ã®ä¸ã§ã¯ããã¼ããªã¥ã¼ããã¼é ã§ã½ã¼ããã¦ãããªããã°ãªããªãã®ã§ãããLevelDB ã¯ãã®ã½ã¼ããã¡ã¢ãªã¼ä¸ã§è¡ãã¾ãï¼ã
æ¦è¦ importããã ãã§ä½¿ããgolang製kvsã®boltdb ã§ãã¤ã³ã¹ãã¤ã¢ããã¦ã golang製kvsã®goleveldbãç´¹ä»ãã¾ãã goleveldbã¨ã¯ goleveldbã¨ã¯ãleveldbã®golang portã§ãã(å®å ¨ã«åããã©ããã¯èª¿ã¹ããã¦ã¾ããã»ã»ã») levigoçã®leveldbã©ããã¼ã¨ã¯éããnative golangã§æ¸ããã¦ããã®ã§ãCã®leveldbã©ã¤ãã©ãªãå¿ è¦ã¨ãããgolangã§importããã ãã§ç°¡åã«å©ç¨ã§ããã®ã§ãæ軽ã§ãã å人çã«ã¯ãsqliteã®çµã¿è¾¼ã¿DBã¨ãã¦å©ç¨ãããããªæè¦ã§ãçµã¿è¾¼ã¿æ°¸ç¶åKVSã¨ãã¦ã®ç¨éãåãã¦ããããã«æãã¾ãã leveldbã«ã¤ãã¦ã¯LevelDBå ¥é (åºæ¬ç·¨)ã詳ããã§ãããããããç¹å¾´ãå¼ç¨ããã¦ãããã¾ãã keyã¨valueãä»»æã®ãã¤ãåã§ãã ãã¼ã¿ã¯keyã§ã½ã¼ãã
ãã¦ãä»åã¯æ¯è¼çæ°ãããã¼ã¿ã¹ãã¢ã§ããLevelDBã«ã¤ãã¦ã¾ã¨ãã¦ã¿ã¾ããã LevelDBã¯1å¹´ã»ã©åããNode.jsçéã§ã¯ãã¼ã ãæ¥ã¦ãã¦ãçç±ãããããã£ã¦ããªãã£ããã§ãããã¾ã¨ãã¦ããå ã«åããããªã¨æã£ã¦ã¾ã¨ãã¾ãããä»åã¯Node.jsç¡é¢ä¿ã§LevelDBã®åºç¤çãªãã¨ã ã調æ»ããçµæãã¾ã¨ãã¦ã¿ã¾ããã Node.jsã§ä½¿ã£ã¦ã¿ã話ã¯å¾ã«åãã¾ãã LevelDBã¨ã¯? key-valueåã®ãã¼ã¿ã¹ãã¢ã®ä¸ã¤ã§ãã Googleã®ç 究è ã§ãããJeff Deanã¨Sanjey Ghemawatãéçºãã2011å¹´ã«å ¬è¡¨ããã¾ãããC++ã§æ¸ããã¦ãããå¤ãã®ããã°ã©ãã³ã°è¨èªã§bindingsãæ¸ããã¦ãã¾ãããã¡ãããJavaScript/Node.jsã§ãæ¸ããã¦ãã¾ãã LevelDB 㯠Google ã®BigTableããã¼ã¹ã«ããã¢ã¼ããã¯ãã£ãæ
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}