Does Couchbase lock bucket when it writes?
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?