Connection Pooling for Couchbase - Node SDK

connections
#1

Hi,

I’m trying to implement a simple service to persist data in couchbase bucket using Node SDK. Given that I’ve been a java developer all along my career, I’m concerned if concepts like connection pooling , managing them is still relevant with Node & Couchbase. If it’s recommended for many application usecases, why is there not many options in the SDK itself to implement this ?. Any thoughts ?.

#2

Hey @akalyana,
It is not usually suggested to have multiple connections open for the same bucket. We do not provide any built-in support for connection pooling. Saying this however, you are still able to open multiple connections by calling openBucket numerous times and then distributing your operations across those connections.
Cheers, Brett