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

Stale Views and Data Size 2

No replies
  • Login or register to post comments
Thu, 10/27/2011 - 02:53
adamdavies
Offline
Joined: 06/02/2011
Groups: None

I've been doing some testing on Couchbase. If I insert a document and then use a view to read it back, it takes on average about 1.5 seconds for the view to pick it up. This is when there are less than 10 documents inserted.

If I insert 10000, and then re-run the test (insert document and then use view and keep looping until I can read it back). It takes about 30 minutes.

If I insert 10000 documents, wait 1/2 hour and then run the insert-1-document-and-retrieve-via-view test it take about 1.5 seconds again.

Am I to understand from this that Couchbase writes everything to memory and later on at some indeterminate time it will write to disk?

Are the above test results what you would expect? And what are the semantics of inserting to couchbase? I understand it's asynchronous but what has happened between invoking the call and the call returning? How does the application code know that the insert has been successful and completed without error?

Thanks

Top
  • 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