Uploaded image for project: 'Identity Provider'
  1. Identity Provider
  2. IDP-1078

StorageBackedIdPSessionSerializer is slow under heavy load

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: Session
    • Labels:
      None
    • Operating System:
      Multiple
    • Java Version:
      Oracle Java 8
    • Servlet Container:
      Apache Tomcat 8

      Description

      Most of the time is spend in Json.createReader() and Json.createGenerator().
      And to be more specific JsonProvider.provider() that what make it slow.
      Javadoc for JsonProvider tells us this class is thread safe. So we should be able to create it one and store it in the class variable. There is no need to create it each time serialize() or deserialize() methods are called.

        Attachments

        1. IDP-1078.patch
          2 kB
          psivolob@unitedid.org

          Activity

            People

            Assignee:
            cantor.2@osu.edu Scott Cantor
            Reporter:
            psivolob@unitedid.org psivolob@unitedid.org
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m