Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

Does anyone have an upgrade guide from memcached to couch server?

3 replies [Last post]
  • Login or register to post comments
Sun, 03/18/2012 - 14:40
ccolumbu
Offline
Joined: 03/18/2012
Groups: None

We are currently running memcached on about 10 servers and are looking to improve reliability and stability so we want to explore couch server.

Does anyone have a step by step upgrade guide to move from memcached to couch server?

If I am reading the marketing copy correctly I think it says I don't have to change any of my code that couch server is a memecached drop in replacement and I just have to swap it out.

Thanks.

Top
  • Login or register to post comments
Sun, 03/18/2012 - 23:28
ingenthr
Offline
Joined: 03/16/2010
Groups:

I'm not quite sure what you're going from and to. Are you running memcached, or Membase?

If running Membase, you'll find an upgrade guide to Couchbase Server 1.8 in the manuals at couchbase.com/docs

If you're running memcached, yes, you can run Couchbase Server 1.8 in place, as it includes memcached. There isn't an online way to migrate though. What I'd recommend is probably finding a quiet time and then replacing the server list. This would be like flushing the cache, but making a clean switch is the easiest way.

Does that help?

Top
  • Login or register to post comments
Mon, 03/19/2012 - 11:39
ccolumbu
Offline
Joined: 03/18/2012
Groups: None

> We are currently running memcached

Top
  • Login or register to post comments
Mon, 03/19/2012 - 17:04
ingenthr
Offline
Joined: 03/16/2010
Groups:

In that case, the simplest and best way is what I'd suggested earlier. Find a time of low workload, and swap out your server list. That will be similar to a cache flush, but shouldn't be too bad.

If that's too much of a concern, you can probably find the place in your app that is referencing the cache and have it go first to the new Couchbase Cluster and if the result isn't there then go to the old memcached cluster. If found, set it in Couchbase. This will migrate the data. Just be sure to stop updating the old cache and make sure that any deletions hit both.

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