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

Improve performance of client.bulk_write

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • 4.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • 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?

      Improve performance of client.bulk_write. Here are the results of the new benchmarks from this run:

      Name MB/sec
      LargeDocClientBulkInsert 21.086811
      LargeDocBulkInsert 104.5071745
      SmallDocClientBulkMixedOps 1.353895781
      SmallDocBulkMixedOps 0.6469863368
      SmallDocClientBulkInsert 8.437455728
      SmallDocBulkInsert 41.5301894659

      So it looks like we have a lot of work to do to make client.bulk_write's perf on par with coll.bulk_write. PYTHON-4596 and PYTHON-4591 may be enough but there could be other work required.

            Assignee:
            shruti.sridhar@mongodb.com Shruti Sridhar (Inactive)
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: