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

Investigate the performance impact of using NamespaceString::dbName

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-08-07, Server Serverless 2023-08-21
    • 2

      Today, `NamespaceString::db()` is used for serialization the db names. It does not work correctly for commands serialization/deserialization. If we replace it with `DatabaseNameUtil::serialize(nss.dbName())` directly, performance regression can be observed.
      In this task, we should investigate how to avoid performance regression by creating a prototype and test the performance with it.

            Assignee:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: