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

persist and cache...

1 reply [Last post]
  • Login or register to post comments
Wed, 08/22/2012 - 08:45
mambler
Offline
Joined: 08/22/2012
Groups: None

If I persist my object as JSON to couchbase using expiration time of zero, does the JSON data persist in memory, and then eventually written to disk, or is it written to disk immediately? Reason... trying to decide if I gain anything by creating a separate memcache bucket to make sure certain objects are pulled from memory for faster retrieval times.

Thanks

-Mark

Top
  • Login or register to post comments
Wed, 08/22/2012 - 10:28
mikew
Offline
Joined: 03/14/2011
Groups:

1) The data is store in memory and then eventually written to disk.

2) All recently used objects are cached so you should see the same performance as when you use memcached for keys that are already in memory. If a key is on disk then the access will be slower, but the key will be brought into memory so that subsequent accesses are fast.

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