Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-1222

Use a sync.pool for memd.conn readers

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • core-10.0.7
    • None
    • None
    • None
    • 1

    Description

      At present if we have a large number of connections per node (e.g. a number of agents each with a kv pool size of say 8) and something goes wrong and we end up in a reconnect loop for a couple of minutes then we can up blowing up our memory footprint as we create a 20MB buffer per connection.

      We should move to using a pool so that we reuse the buffers.

      Attachments

        Issue Links

          For Gerrit Dashboard: GOCBC-1222
          # Subject Branch Project Status CR V

          Activity

            People

              charles.dixon Charles Dixon
              charles.dixon Charles Dixon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty