SessionWorkflow improvements

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0, 6.3.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.3
    • Service Arch 2023-02-20
    • 120
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      While searching for the cause of performance issue BF-27452, we discovered a few things that were not the cause, but were still worthy of improvement.

      Redundant yield. The fix SERVER-73623 added a yield before _receiveRequest, but did not remove the yield after sendResponse. Testing shows that we don't need the yield after sendResponse anymore.

      Unnecessary binding of Frame to a shared_ptr, copied into lambdas. This could be a data member of SessionWorkflow.

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: