Writing a key-value store

前端 未结 7 1137
梦谈多话
梦谈多话 2021-02-04 08:12

I am looking to write a Key/value store (probably in python) mostly just for experience, and because it\'s something I think that is a very useful product. I have a couple of qu

相关标签:
7条回答
  • 2021-02-04 09:15

    Have a look at Python's shelve module which provides a persitent dictionary. It basically stores pickles in a database, usually dmb or BSDDB. Looking at how shelve works will give you some insights, and the source code comes with your python distribution.

    Another product to look at is Durus. This is an object database, that it uses it's own B-tree implementation for persistence to disk.

    0 讨论(0)
提交回复
热议问题