3 ms·
I'd rather have Bitcask or RocksDB - something that has better crash recovery capabilities. LevelDB was marked as being prone to data corruption. DETS has simil
by X4lldux 10y ago
I'd rather have Bitcask or RocksDB - something that has better crash recovery capabilities. LevelDB was marked as being prone to data corruption. DETS has similar problems when not closed properly.
- biokoda 10y ago> LMDB was marked as being prone to data corruption Don't know where you got your information from, but LMDB is verified as the safest storage engine: https://www.usenix.org/conference/osdi14/technical-sessions/presentation/pillai https://www.usenix.org/conference/osdi14/technical-sessions/...
- X4lldux 10y agoSorry, I was thing about LevelDB. ANd yes, you are right about LMDB!
- rdtsc 10y agoDETS is supposed to repair itself on startup. I think most crash-only systems work that way (on startup, start reading from end and find last consistent bit and chop off the rest). But there could obviously been a bug there.
- X4lldux 10y agoI have a very modest experience with it, but when a crash happened it was game-over for it. Maybe I was doing something wrong.