Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-532

vectorized writes are pathological for TLS using BIO_write

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.2
    • Affects Version/s: 1.1.0
    • Component/s: None
    • None

      The mongoc_stream_writev api is somewhat pathological for TLS streams at this point, because we make multiple calls into BIO_write, which adds overhead in the driver, over the wire and in the server.

      We should coalesce small writes to avoid this penalty

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: