Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38431

Improve BSON validation performance

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Performance
    • Labels:
      None
    • Sprint:
      Service Arch 2019-03-25, Service Arch 2019-04-08, Service Arch 2019-04-22

      Description

      In a performance investigation of initial sync, we found that for certain workloads, there is a bottleneck in performing BSON validation. By turning off validation on the source and target, initial sync time was reduced by up to 18%. The greatest savings occurred with large documents (since the bottleneck for small documents is insertion on the target) and documents containing nested arrays (since BSON validation was slower in this case).

      We should investigate if there is any low-hanging fruit in improving performance of BSON validation.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: