Couchbase Questions: Java Client

Have a Question? Get it answered by our community

dhanushka's picture
Asked 1 month 1 week ago

CouchBase Client Fails to Cache Object less than 20mb. Time Out Error

I am caching my serialized POJO s(4mb-8mb size objects) concurrently into Couchbase server with CouchBase client (couchbase-client-1.4.3).

for(upto 20 itertarions){  
    new Thread().start().. //this
winstonwaite's picture
Asked 3 months 1 week ago
Latest activity 1 week 6 days ago

Java client not aware of failed over node under certain circumstances

This is similar to

This is using the 1.4.2 java client.

If I failover from the admin...

alexo's picture
Asked 4 months 1 week ago
Latest activity 4 months 1 week ago

Java client not aware about failed over node

We are using the latest version of couchbase-java-client (1.4.0-dp2).
Assume the following scenario:
- We have a cluster with 2 nodes.
- Client is able to read & write documents to a bucket.
- create a couple of documents (one is active on node1, the other is active...

ohassidi's picture
Asked 6 months 3 weeks ago

Connection management


Is there any best practice for connection management for couchbase connections? If one of the nodes in the cluster died, how the client get notified and start dipatching requests to other nodes? Also how does data that was in the died server start return from other nodes?


manish's picture
Asked 8 months 3 weeks ago
Latest activity 8 months 3 weeks ago

Custom Reduce behaving inconsistently


I am using couchbase version 2.0.1 - enterprise edition (build-170) and java-client version 1.2.2
I have a custom reduce function to get last activity of a user
The response from java client is inconsistent At time I get correct response and most of the time I get null...

mshaw's picture
Asked 10 months 1 week ago
Latest activity 10 months 1 week ago

Pagination with Dates and refresh

I've read some documentation on pagination for Couchbase. What I would like to do is create a call that grabs the first 100 results based on date, then will grad the next 100 results based on end date of the previous 100. Also equally important is on refresh to get all new entries. So whatever...

vakoroteev's picture
Asked 1 year 2 months ago
Latest activity 1 year 2 months ago

Limitation on the number of ops per second for Couchbase client

I study the performance of Couchbase and I noticed one interesting thing. I use JavaSDK. When adding documents in database through a single-threaded client by "set" method with parameter PersistTo.ONE number of operation per second does not exceed 5-7 ops per sec. What explains...

ohassidi's picture
Asked 1 year 2 months ago
Latest activity 6 months 3 weeks ago

_count reduce on existing view

I have the followed scenario: I am running a paginated query and I get some results, I addition I want to know how much total will I have at the end.

Any idea?

dkarlinsky's picture
Asked 1 year 2 months ago
Latest activity 6 months 6 hours ago

Server error during processing: ["web request failed"...]


We are running a three node Couchbase server 2.0.1 cluster in our dev/integration environment, to which multiple instances of our java app connect using the Java SDK.
We are seeing the following error, over and over, in the couchbase server log: