Skip to content

v0.0.9

Latest
Compare
Choose a tag to compare
@sharathjag sharathjag released this 24 Oct 17:55
8ddb251

New features added:

  • Clients with options.
  • Exists functions to check if document exists.

Client with options:

  • NewClientWithSharedConnection: Shares a single connection across all the VUs and maximizes the QPS without affecting client resources.
  • NewClientPerVU: Creates new client connection for each VU. Useful for testing max number of connections that the cluster can handle.
    In addition to controlling number of connections, both the functions provide:

Additional features:

  • Ability to pre-warm the buckets as part of initialization.
  • Ability to set timeout duration for bucket readiness (WaitUntilReady timeout).
  • Ability to control the connection buffer size. By default couchbase client uses 20MB buffer size which limits the number of concurrent connections that can be created by a single client instance.