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

Does Couchbase lock bucket when it writes?

1 reply [Last post]
  • Login or register to post comments
Wed, 02/29/2012 - 06:50
malur
Offline
Joined: 02/29/2012
Groups: None

Hi,

We have an application where we pump in data around 10K every 5 secs into couchbase and another process running in parallel reading the same entries and compute some stuff.

What we observed is,

- When we load 10K once and just read from another process we are getting better throughput around 100K reads per sec
- When we load 10K every few secs repeatedly and try to run the another process to read our throughput is going down considerably to just 5K reads per sec.

Does Couchbase locks the bucket when it writes so that other don't read unless lock is released?

Any hints on improving the performance here?

Thanks
Ramu

Top
  • Login or register to post comments
Fri, 03/02/2012 - 19:31
mikew
Offline
Joined: 03/14/2011
Groups:

We don't lock buckets at all when doing writes. One thing that might be happening is that your reads are hitting disk at a much higher frequency than they hit memory. This could be something that greatly impacts performance. Is everything on your server in memory or do you have a high disk to memory ratio. Also, could you possibly post code here or any other information that might be relevant to the state of your cluster?

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