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

Improve BSON validation performance

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

      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.

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

              Created:
              Updated:
              Resolved: