Re:But how, exactly, do databases use mmap?
by tayo42 on Saturday January 23, 2021 @02:53PM
(#25885482)
Is the trade off in varnish worth it? Workloads for a cache should be pretty read heavy, writes should be infrequent unless it's being filled for the first time
[ Parent
| on HN ]
Re:But how, exactly, do databases use mmap?
by perbu on Sunday January 24, 2021 @05:08AM
(#25890800)
For the general case? No. Varnish retained it's mmap backend so you could still chose to use it if you have a load that required it.
For the general case, where writes are somewhat frequent and the dataset is pretty small the malloc backend was a lot more performant, once we figured out the the default implementation of malloc in Glibc was pretty shit (wrt overhead).