Comment

Comment by cmrdporcupine

Obligatory: https://db.cs.cmu.edu/mmap-cidr2022/

Consensus says "don't do it" ...

That said, having written my own buffer pool and paging, etc... in pure naive benchmarks ... it's actually kinda hard to beat mmap. And LMDB is really fast for what it is.

In real world workflows I think the story is more complicated. Especially under higher concurrency.

parent cmrdporcupine 4 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton