به Nostr بپیوندید
2025-05-31 10:11:15 UTC

Howard Chu @ Symas on Nostr: This old blog post about how #LMDB works on #Windows popped up in my google alerts ...

This old blog post about how #LMDB works on #Windows popped up in my google alerts today https://ayende.com/blog/201313-B/reading-unfamiliar-codebases-quickly-lmdb

It references an even older conversation we had on the topic, back in 2013. Unfortunately it looks like Ayende missed my point in 2013, he focused on my mention of WriteFileGather when the salient point was you mustn't use NO_BUFFERING to write to a mapped file.
Doing so renders the pagecache invalid, and file mapping explicitly relies on the pagecache.