Re:RocksDB – A persistent key-value store for fast storage e...
by dhruba_b on Friday November 15, 2013 @12:36AM
(#6737928)
This is an excellent question. RocksDB has a lock per shard that is used to protect incrementing/decrementing refcounts on critical metaddata structures for writes. It is never held during actual IO to storage. We have been able to saturate a flash device for a pure-write workload when value size = 800 bytes without bottlenecking on this lock.
[1] - http://hyperdex.org/performance/leveldb/