Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2778

Reduce memory usage on compressed loads

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.12.0, 1.11.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      This ticket is to trace the PR https://github.com/mongodb/mongo-go-driver/pull/1200

      , which:

      1. Modified around Operation.decompressWireMessage to eliminate duplicate memory allocation;
      2. Reused zlib.Writer;
      3. Removed unused parameter of ReadWireMessage in the interface of driver.Connection.

            Assignee:
            qingyang.hu@mongodb.com Qingyang Hu
            Reporter:
            qingyang.hu@mongodb.com Qingyang Hu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: