PHP: Save cache to disk
Fri, 07/22/2011 - 18:43
Is there a way to save the memcached bucket key/values to disk before a server restart?
I see there's replication where you could replicate to a failover and then shutdown the main machine relying on the failover.
Just wondering if there's a PHP function you can call to explicit save the cache to disk?
Memcached buckets have no disk persistence, nor replication.
You will want to use a Membase bucket which handles all of this automatically and will write data to disk as quickly as possible so you don't need to explicitly tell it to.
Perry
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!