Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

PHP: Save cache to disk

1 reply [Last post]
  • Login or register to post comments
Fri, 07/22/2011 - 18:43
tgraupmann
Offline
Joined: 07/21/2011
Groups: None

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?

Top
  • Login or register to post comments
Mon, 07/25/2011 - 14:03
perry
Offline
Joined: 10/11/2010
Groups:

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!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker