Hacker News new | ask | show | jobs
by gfodor 4607 days ago
this is cool, though I'd wonder how it compares to Kyoto Cabinet. another big issue I've run into personally is the fact that both LevelDB and KC don't explicitly support multiple processes reading the db at once. (KC's API allows this but advises against it, LevelDB afaik doesn't even allow it.) I wonder if RocksDB gets past this.
4 comments

RocksDB allows only one process to open the DB in read-write mode but other process can access the DB read-only (with a few configuration settings)
If you just need concurrent reading and update the database from a single process, you can use CDB. It always served me well.
Kyoto Cabinet will self-corrupt if you use it that way. LMDB supports multi-process explicitly.
can you explain how this happens? if it's just a read-only process, how can it corrupt anything?
HyperDex?