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

SessionDocumentService can be a performance bottleneck

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Duplicate
    • Affects Version/s: 1.0.2.1
    • Fix Version/s: Not version specific
    • Component/s: Development
    • Labels:
      None
    • Similar issues:
      KULRICE-7009Profile the view process (complete request/response) for bottlenecks
      KULRICE-9424Profile script execution to identify top bottlenecks
      KULRICE-8962CloneUtils deepCloneObject Performance Improvement
      KULRICE-14090Make improvements to KIM integration performance
      KULRICE-9148Disable SessionDocumentService in the KNS
      KULRICE-9230KNS should not use the KRAD SessionDocumentService
      KULRICE-8946A few small things that can improve KRAD performance
      KULRICE-10178Remove SessionDocumentService from KRAD
      KULRICE-9358Form and WorkflowDocument no longer being persisted to session after disabling the SessionDocumentService
      KULRICE-9895Install Jenkins Performance Plugin
    • Rice Module:
      KNS
    • Application Requirement:
      KFS, KC, Rice

      Description

      It appears that the SessionDocumentService is a major source of performance issues, especially for large documents. For every request the user makes on the document, the entire document is serialized and transferred to and from the database.

      Some of the performance may be due to the size of the connection pool, but across two servers it should have been sufficient for the number of users who were testing. It really seemed to have to do with the sheer amount of data being transferred. On some maintenance documents (which is all we were testing), the serialized object graph was over a megabyte.

      By stubbing out the service to remove the feature altogether, we were able to greatly improve server performance. That may not be the ultimate solution, but it meets UCDs needs at the moment.

      Another option would be to use a shared file system for such a store, since that would be faster to access than via the database connections.

        Issue Links

          Activity

          Jonathan Keller made changes -
          Field Original Value New Value
          Link This issue duplicates KFSMI-5916 [ KFSMI-5916 ]
          Jessica Coltrin (Inactive) made changes -
          Fix Version/s 2.x-backlog [ 15811 ]
          Fix Version/s 1.x-backlog [ 16014 ]
          Jessica Coltrin (Inactive) made changes -
          Start Date
          Fix Date [ set to sprint end date ]
          Gayathri Athreya made changes -
          Application Requirement KFS,KRICE [ 10874,11120 ] KFS,KRA,KRICE [ 10874,10875,11120 ]
          Hide
          Eric Westfall added a comment -

          Closing this issue as a duplicate of KULRICE-9148 and KULRICE-9149

          Show
          Eric Westfall added a comment - Closing this issue as a duplicate of KULRICE-9148 and KULRICE-9149
          Eric Westfall made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s Backlog [ 15811 ]
          Resolution Duplicate [ 3 ]
          Eric Westfall made changes -
          Link This issue duplicates KULRICE-9148 [ KULRICE-9148 ]
          Eric Westfall made changes -
          Link This issue duplicates KULRICE-9149 [ KULRICE-9149 ]
          Shem Patterson (Inactive) made changes -
          Workflow custom [ 85343 ] Copy of custom for rice [ 212099 ]
          Shem Patterson (Inactive) made changes -
          Workflow Copy of custom for rice [ 212099 ] custom [ 221847 ]
          Shem Patterson (Inactive) made changes -
          Workflow custom [ 221847 ] Rice Workflow [ 231595 ]
          Claus Niesen made changes -
          Fix Version/s Not version specific [ 17967 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Jonathan Keller
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Structure Helper Panel