Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1553

Provide insert documents as payload type 1

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.0.0, 2.8.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      OP_MSG supports using payload type 1 (aka document sequence) for the "documents" argument to the insert command. Using this ovoids the string-based overhead of BSON arrays that is incurred when using a regular insert command. We should investigate whether using a document sequence instead would have meaningful performance benefits.

      source: https://github.com/mongodb/specifications/blob/master/source/message/OP_MSG.rst#command-arguments-as-payload

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: