摘要: leveldb/rocksdb采用deque控制多线程只允许一个线程修改memtable, 是由于memtable不存在读-写冲突(采用MVCC,保证Sequence一定不同,memtable的key就一定不同,update/delete/insert操作一定不会修改已有key的数据) 这样只存在写 阅读全文
posted @ 2023-02-13 16:38 misaka-mikoto 阅读(95) 评论(0) 推荐(0) 编辑
摘要: RocksDB Features that are not in LevelDB We stopped maintaining this page since 2016. New features are not added to the lists. Performance Multithread 阅读全文
posted @ 2023-02-13 10:52 misaka-mikoto 阅读(34) 评论(0) 推荐(0) 编辑