Benchmark OpenTelemetry support

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: Observability
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      •  

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      •  

      Context for other referenced/linked tickets

      •  
      Show
      Summary of necessary driver changes   Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   Context for other referenced/linked tickets  
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-6444 Blocked
      CXX-3569 Blocked
      CSHARP-6218 Blocked
      GODRIVER-4115 Blocked
      JAVA-6303 Blocked
      NODE-7812 Blocked
      PYTHON-6065 Blocked
      PHPLIB-1943 Blocked
      RUBY-3952 Blocked
      RUST-2490 Blocked
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-6444 Blocked CXX-3569 Blocked CSHARP-6218 Blocked GODRIVER-4115 Blocked JAVA-6303 Blocked NODE-7812 Blocked PYTHON-6065 Blocked PHPLIB-1943 Blocked RUBY-3952 Blocked RUST-2490 Blocked

      Summary

      Preliminary benchmark results for DRIVERS-719 in Python and Ruby show that there is a very significant performance degradation when OTel is enabled, anywhere from ~15-50%.

      Motivation

      Who is the affected end user?

      Any user that enables OpenTelemetry in the driver.

      How does this affect the end user?

      Large performance regressions across workloads.

      How likely is it that this problem or use case will occur?

      Very likely. Simply enabling OTel will heavily impact application performance.

      If the problem does occur, what are the consequences and how severe are they?

      Severe. Very large performance impacts.

      Is this issue urgent?

      Blocker for DRIVERS-719.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      No.

      Acceptance Criteria

      • Enabling OpenTelemetry MUST not degrade performance excessively (threshold of excessive impact TBD)
      • Documentation MUST include best practices for using OpenTelemetry efficiently
      • All drivers implementing DRIVERS-719 MUST compare the performance of their driver benchmarking suite with and without OpenTelemetry enabled, across a range of representative sampling rates and other performance configurations.

            Assignee:
            Adelin Mbida Owona
            Reporter:
            Noah Stapp
            Boris Dogadov Boris Dogadov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: