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

Improve BSON validation performance

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Performance
    • None
    • Service Arch
    • 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

            backlog-server-servicearch Backlog - Service Architecture
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: