Connection pooling in Couchbase SDK (spymemcached)
We are in process of evaluating couchbase. Following are the list of questions with reference to couchbase.
1) Does the couchbase client has internal connection pooling ocncept ? If yes, how can we tune the connection pool ? If not, can someone provide a sample code to write custom code.
2) CouchbaseClient is thread-safe. How many concurrent thread it can serve ? What is the upper limit for no of thread accessing the client object concurrently ?
Connection pooling is not required. You can tune some of the parameters in the Couchbase connection, however,
via the CouchbaseConnectionFactoryBuilder class. Please refer to
Yes, the CouchbaseClient is thread safe. There is no upper limit from a Couchbase connection perspective.