Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1938

Optimize auto encrypted bulk write batching

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

      When auto encryption is configured on a client, we generate a batched bulk write command using the OP_QUERY command code path, then chop off the OP_QUERY message header, then decode the encoded batched command, and finally we send that command to the server (re-encoding).

      This decoding and re-encoding is not so bad because we use RawBSONDocument to avoid decoding/encoding the documents to insert/update/delete but we can improve this further. One improvement would be to use PYTHON-1917 to execute the encoded command directly.

            Assignee:
            Unassigned Unassigned
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: