5 ms·
erlang:open_port(spawn, ...) 3-5 times faster mnesia_ext: plugin of external storage solutions to mnesia
by anfroid555 10y ago
erlang:open_port(spawn, ...) 3-5 times faster
mnesia_ext: plugin of external storage solutions to mnesia
- varg 10y agoAh nice! ..wonder if mnesia_ext is bundled with leveldb support?
- X4lldux 10y agoI'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.
- jlouis 10y agoNo. The actual ext is something you have to provide yourself.