• Type: Icon: Epic Epic
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.6.0, 1.10.0, 1.11.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Done
    • Reduce Allocations
    • 10
    • 11
    • 11
    • 100
    • Hide

      Engineer(s): Qingyang

      Summary: Reduce memory allocations under common scenarios

      2022-09-04: Updating target date to 2022-09-09

      Status update:

      • Memory pool for reads and writes in review.
      • Remaining tickets are not directly related and will be deferred.

      Rationale for delays:

      • Memory pool review took longer than expected.

      Risks:

      • No risks.

      2022-08-22: Updating target date to 2022-09-02

      Status update:

      • Prototyping streaming approach found minimal improvement.
      • Scope to refactor has been closed.
      • Working on pooling approach. Expected to have review this week.

      Rationale for delays:

      • Investigation of prototype took longer than expected.

      Risks:

      • No risk.

      2022-08-08: Setting target date to 2022-08-26

      Status update:

      • Fixed excess memory consumption from Zstd compression.
      • Working on a scope document to propose using io.Reader and io.Writer for readWireMessage and writeWireMessage. This is testing streaming an memory pooling with benchmarks.

      Rationale for delays:

      • No delays.

      Risks:

      • No risks.

      Show
      Engineer(s): Qingyang Summary: Reduce memory allocations under common scenarios 2022-09-04: Updating target date to 2022-09-09 Status update: Memory pool for reads and writes in review. Remaining tickets are not directly related and will be deferred. Rationale for delays: Memory pool review took longer than expected. Risks: No risks. 2022-08-22: Updating target date to 2022-09-02 Status update: Prototyping streaming approach found minimal improvement. Scope to refactor has been closed. Working on pooling approach. Expected to have review this week. Rationale for delays: Investigation of prototype took longer than expected. Risks: No risk. 2022-08-08: Setting target date to 2022-08-26 Status update: Fixed excess memory consumption from Zstd compression. Working on a scope document to propose using io.Reader and io.Writer for readWireMessage and writeWireMessage. This is testing streaming an memory pooling with benchmarks. Rationale for delays: No delays. Risks: No risks.

      Reduce memory allocations under common scenarios.

        1. mem-100.3.1-baseline.prof
          4 kB
        2. mem-100.3.1-p3.prof
          4 kB

            Assignee:
            qingyang.hu@mongodb.com Qingyang Hu
            Reporter:
            esha.bhargava@mongodb.com Esha Bhargava
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              12 weeks, 3 days