Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-7631

Performance hit on creating XPath instances during heavy use of XML routing in workflow

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Component/s: Performance
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-6950Severe performance degradation on saving complex routing paths
      KULRICE-833Implement a Split Node which operates using XPath
      KULRICE-1130improve performance of xml ingestion
      KULRICE-11799Create Automated Functional (Smoke) Tests for Workflow: XML Stylesheets
      KULRICE-3761Refactor XPathQualifierResolver so that it may also be used as a Role route node/module
      KULRICE-2541Verify accessibility issues were addressed during conversion of pieces of KEW to use KNS
      KULRICE-5327CellComparatorHelper could be improved to avoid heavy object creation.
      KULRICE-2057RouteNode content fragment is not being exported during Document Type XML export
      KULRICE-4892Document Operation screen in workflow doesn't display XML properly if it's encrypted with a different encryption key then the standalone server uses
      KULRICE-9805Lookup - Need export for document type xml to use proper export function
    • Rice Module:
      KEW
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      There is a routing scenario in use at IU which involves heavy use of XML rule attributes. During this routing scenario the same document content is used to create new XPath instances when they could be reused. When the same XPath is reused it seems to do some sort of caching so that the results are found faster. After changing the code to reuse the same XPath instance where appropriate we found that the routing time for that scenario went from 30+ seconds to well under 10 seconds.

        Issue Links

          Activity

          Hide
          James Bennett added a comment -

          The changes for this performance improvement have been contributed by IU.

          Show
          James Bennett added a comment - The changes for this performance improvement have been contributed by IU.
          Hide
          Jessica Coltrin (Inactive) added a comment -

          release notes are generated. closing issues.

          Show
          Jessica Coltrin (Inactive) added a comment - release notes are generated. closing issues.

            People

            • Assignee:
              James Bennett
              Reporter:
              James Bennett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel