I’m just getting started integrating with couchbase, using golang. It seems like v2 is the best place to start (even though it is still a prerelease).
It seems like Collections are the v2 way to interact with buckets. My question is: Are Collections threadsafe? i.e. can I put a pointer to a collection into a grpc or http handler and just use the same collection to do all of my querying for all of my concurrent requests, or should I give the handler the pointer to the bucket and instantiate the DefaultCollection() for each request?