5 ms·
What's so terrible about mmap()? LMDB seems to use it to great effect: http://symas.com/mdb/ http://symas.com/mdb/
by ehsanu1 12y ago
What's so terrible about mmap()? LMDB seems to use it to great effect: http://symas.com/mdb/ http://symas.com/mdb/
- ddorian43 12y agolmdb is single-writter-thread
- hyc_symas 12y agoHow is that in any way relevant? All ARIES write-ahead-logger systems are single-writer to their logs too. No matter what kind of BS they sell you about high concurrency with fine-grained locking, it all funnels thru that single bottleneck. The fact is that LMDB's single-writer design is not a concurrency liability in real workloads. http://symas.com/mdb/20141120-BuildStuff-Lightning.pdf http://symas.com/mdb/20141120-BuildStuff-Lightning.pdf http://symas.com/mdb/#bench http://symas.com/mdb/#bench