Can Memcache be configured to use disk storage instead of RAM ?
I am running Memcache Server on High IO Amazon EC2 instance. The instance has 2TB of SSD storage available. Can I configure Memcache to use the SSD storage to store the cache contents ?
Thanks
While memcache is resilient to server failures, memcache values are not saved to disk, so a service failure can cause values to become unavailable.
Memcached stores the data in the memory and when the data is needed the application checks for the data in the memcache via its daemon. Memcached has the ability to store SQL queries, that way the next time the query is ran, it can return the result from memory.
In order to alleviate the load from the database, a cache is used to store the requested data so that when a user requests for some information, the application will first look into the cache and if it is found there, the application won't go to the database for it; rather, it will fetch the data from the cache and ...
Twitter just released their Memcache on SSD, named fatcache
As far as I know this does not work. But there are alternatives as pointed out here: memcached-like key/value cache that uses both RAM and disk
instead of memcache you could use redis witch write on disk and will use your ssd.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With