Hi Couchbase,
From previous conversations with ya’ll, it was recommended that a single instance of IBucket should be referenced and maintained for the lifetime of the application. My understanding was that it was relatively expensive to create/dispose instances since they establish a pool of socket connections to the cluster.
However, the documentation illustrates opening the bucket in a using
statement.
https://docs.couchbase.com/dotnet-sdk/2.6/start-using-sdk.html
Can you please provide some input on this?