Use insertMany to upload GridFS chunks for better performance

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: GridFS, Performance
    • None
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      PHPLIB has historically used insertOne to write chunks. PyMongo recently switched to a batching strategy that leverages insert_many (at the expense of increased memory usage) and saw a significant performance improvement.

              Assignee:
              Jeremy Mikola
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: