Notes from the Architect (2016)
&gt; Well, today computers really only have one kind of storage, and it is usually some sort of disk, the operating system and the virtual memory management hardware has converted the RAM to a cache for the disk storage.<p>&gt; So what happens with squids elaborate memory management is that it gets into fights with the kernels elaborate memory management, and like any civil war, that never gets anything done.<p>ctrl+f mmap on this article doesn&#x27;t return anything so.. is it talking it&#x27;s better to mmap files and having files store in-memory data structures like cap&#x27;n&#x27;proto does?<p>(if it&#x27;s entirely in-memory with no file in disk, then it&#x27;s surely comparing apples to oranges? if a program needs the persistent memory, it needs the disk)<p>Also: is mmaping a file and using it directly from memory what databases should do today to avoid fighting the OS disk cache?