Re:Show HN: LevelDB outperforms others on a cheap phone (Mic...
by duaneb on Friday March 25, 2016 @03:31PM
(#11362129)
I believe the core writer runs on a single thread, so this makes sense.
Also, I'd argue leveldb shines in a distributed environment where the simple interface is easy to leverage at scale--after all, it is basically the tablet part of big table.
The performance numbers are actually mediocre at best in "real world" conditions. When I tried using it in a project where both high performance and concurrency were needed, I also discovered that it doesn't scale past 1 CPU core - probably uses mutexes or inefficient locks. I gave up on it rather than trying to fix it.
That said, it has a simple API and sometimes neither concurrency nor ACID are important.