Memory Map Files

Daniel Beckham dbeckham-memcached at dealnews.com
Sat Jul 7 13:38:15 UTC 2007



Joel Poloney wrote:
> ... do I really need to explain this one? I thought memory mapped 
> files were pretty self explanatory. See wikipedia: 
> http://en.wikipedia.org/wiki/Memory-mapped_file 
> <http://en.wikipedia.org/wiki/Memory-mapped_file>.
>
No, you don't.  That wasn't what his question was.

> Yes, I know there are drawbacks, but if implemented correctly, the 
> benefits far outweigh them.
>
No there aren't. At least not in the context of memcached.  There are 
plenty of other technologies out there that do exactly what you want, 
MySQL being one of them.  Memcached's core functionality is the speed 
and performance benefit you get from not having to access a physical 
disk to return data.  Using it in this manner is counter intuitive to 
it's purpose and afaik, there is no such way to extend memcached without 
actually patching the source code yourself.

-Daniel



More information about the memcached mailing list