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

Investigate and fix slow bulkWrite request parsing on mongod

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Replication

      As per the flame graph, currently about 4% of the bulkWrite operation thread's time is spent in parsing the bulkWrite request with 1000 insert ops. In contrast, about 1% of an insert operation thread's time is spent parsing a similar insert with 1000 ops.

      The parsing code is auto-generated through IDL so it may be harder to optimize without changing the format of the bulkWrite request altogether.

      See SERVER-76662 for flame graphs.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: