Serialization performance improvements

XMLWordPrintableJSON

    • Type: Epic
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Serialization
    • Serialization performance improvements
    • Dotnet Drivers
    • None
    • Hide
      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?
      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • In Progress
    • None
    • 4
    • 0.5
    • 4
    • 100
    • 0
    • 🟢 On Track
    • Hide

      What was completed over the last two weeks?

      • Remove GetBitArray allocations in BsonClassMapSerializer - in review
        What's the focus over the next two weeks?
      • Avoid RentedBuffer boxing in DisposableSegment
      • Remove lambda allocation in BsonClassMap.GetDiscriminatorConvention
      • Remove TrieNameDecoder allocations in BsonClassMapSerializer
      Show
      What was completed over the last two weeks? Remove GetBitArray allocations in BsonClassMapSerializer - in review What's the focus over the next two weeks? Avoid RentedBuffer boxing in DisposableSegment Remove lambda allocation in BsonClassMap.GetDiscriminatorConvention Remove TrieNameDecoder allocations in BsonClassMapSerializer
    • Hide

      2025-09-02 - 🟢 On Track
      What was completed over the last two weeks?

      • Remove GetBitArray allocations in BsonClassMapSerializer - in review
        What's the focus over the next two weeks?
      • Avoid RentedBuffer boxing in DisposableSegment
      • Remove lambda allocation in BsonClassMap.GetDiscriminatorConvention
      • Remove TrieNameDecoder allocations in BsonClassMapSerializer

      2025-09-02 - 🟢 On Track
      What was completed over the last two weeks?

      • Remove GetBitArray allocations in BsonClassMapSerializer - in review
        What's the focus over the next two weeks?
      • Avoid RentedBuffer boxing in DisposableSegment
      • Remove lambda allocation in BsonClassMap.GetDiscriminatorConvention
      • Remove TrieNameDecoder allocations in BsonClassMapSerializer

      2025-09-02 - 🟢 On Track
      No project update provided


      2025-09-01 - 🟢 On Track

      What was completed over the last two weeks?

      • Remove GetBitArray allocations in BsonClassMapSerializer - in review
        What's the focus over the next two weeks?
      • Avoid RentedBuffer boxing in DisposableSegment
      • Remove lambda allocation in BsonClassMap.GetDiscriminatorConvention
      • Remove TrieNameDecoder allocations in BsonClassMapSerializer
      Show
      2025-09-02 - 🟢 On Track What was completed over the last two weeks? Remove GetBitArray allocations in BsonClassMapSerializer - in review What's the focus over the next two weeks? Avoid RentedBuffer boxing in DisposableSegment Remove lambda allocation in BsonClassMap.GetDiscriminatorConvention Remove TrieNameDecoder allocations in BsonClassMapSerializer 2025-09-02 - 🟢 On Track What was completed over the last two weeks? Remove GetBitArray allocations in BsonClassMapSerializer - in review What's the focus over the next two weeks? Avoid RentedBuffer boxing in DisposableSegment Remove lambda allocation in BsonClassMap.GetDiscriminatorConvention Remove TrieNameDecoder allocations in BsonClassMapSerializer 2025-09-02 - 🟢 On Track No project update provided 2025-09-01 - 🟢 On Track What was completed over the last two weeks? Remove GetBitArray allocations in BsonClassMapSerializer - in review What's the focus over the next two weeks? Avoid RentedBuffer boxing in DisposableSegment Remove lambda allocation in BsonClassMap.GetDiscriminatorConvention Remove TrieNameDecoder allocations in BsonClassMapSerializer
    • 4
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Summary

      Improve serialization memory traffic and overall performance.

      Motivation

      Who is the affected end user?

      Who are the stakeholders?

      How does this affect the end user?

      Are they blocked? Are they annoyed? Are they confused?

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

      Main path? Edge case?

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

      Minor annoyance at a log message? Performance concern? Outage/unavailability? Failover can't complete?

      Is this issue urgent?

      Does this ticket have a required timeline? What is it?

      Is this ticket required by a downstream team?

      Needed by e.g. Atlas, Shell, Compass?

      Is this ticket only for tests?

      Is this ticket have any functional impact, or is it just test improvements?

      Cast of Characters

      Engineering Lead:
      Document Author:
      POCers:
      Product Owner:
      Program Manager:
      Stakeholders:

      Channels & Docs

      Slack Channel

      [Scope Document|some.url]

      [Technical Design Document|some.url]

            Assignee:
            Boris Dogadov
            Reporter:
            Boris Dogadov
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              14 weeks, 2 days
              None
              None
              None