3 ms·
> That worked well when the storage system was made of spinning disks, and you were incentivized to use data structures laying data out appropriate for that acc
by hyc_symas 3y ago
> That worked well when the storage system was made of spinning disks, and you were incentivized to use data structures laying data out appropriate for that access pattern. It was all complementary and cooperated pretty well.
> Then SSDs became commonplace.
You are laughably wrong. Random I/O is random I/O whether you do it using lseek/read or whether you access a page offset in a mmap. And we've got hundreds of hours of benchmarks that show that LMDB outperforms everything else, whether on spinning rust or solid state. http://www.lmdb.tech/bench/ http://www.lmdb.tech/bench/
- pengaru 3y agoMy comment isn't really targeted at LMDB specifically, it's more generally regarding mmap(). If you design the data format to work well on a spinning disk, it should work well with an mmap based access. That's what my comment implies, and it's completely consistent with what you're saying regarding the benchmarks.