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

Speed Test: Soap vs java serialization for our remoted services

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 2.0
    • Labels:
      None
    • Similar issues:
      KULRICE-4700Fully convert java serialized services to SOAP services
      KULRICE-5319Implement caching on remote soap services
      KULRICE-5224Convert RuleValidationAttribute to a remotable SOAP service
      KULRICE-4667Evaluate remote KIM services: analysis & decision
      KULRICE-4595Convert Serial to Soap: Create alternate spring files that publish services as soap services
      KULRICE-5048Write remote tests for shareddata services to exercise SOAP calls of service APIs
      KULRICE-5820Determine if we want to drop the "Soap" from the end of our service names
      KULRICE-5219Convert ImmediateEmailService to a remotable SOAP service
      KULRICE-5220Convert CustomActionListAttribute to a remotable SOAP service
      KULRICE-5761Create a SOAP version of the MoveDocumentProcessor
    • Rice Module:
      KIM
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      Rice currently defaults to java serialization for remoting... instead of SOAP. This is primarily due to performance reason.

      One issue with using serialization is that switching JVM's could cause differences in the way objects are serialized. ex. Java 5 client connecting to java 6 server.

      We need to run some speed tests to see which is faster, soap or searial for remoted services.

      For this particular case we upgrading the recipe sample app to spring 1.0.3 (snapshot) and tested that against the standalone server.
      We created a simple servlet inside the sample app. All this servlet does is take in a request param to switch the underlying service call to use serialization or soap remoting.

      Our test calls the identityService.lookupEntityInfo with an empty map. This will return a relatively large payload.

      We're testing:
      Soap vs Java Serialization

      Oracle vs MySql

      Soap Security On/off

      1. recipe_service_patch.txt
        3 kB
        Jeremy Hanson
      2. rice_MockIdentityServicePatch.txt
        10 kB
        Jeremy Hanson
      3. SoapTest.jmx
        20 kB
        Jeremy Hanson
      4. Soap vs Serialization.pdf
        198 kB
        Garey Taylor

        Activity

        Hide
        Jeremy Hanson added a comment -

        To turn off security on the soap service, this goes in the config file:
        <param name="kim.soapExposedService.jaxws.security">false</param>

        Show
        Jeremy Hanson added a comment - To turn off security on the soap service, this goes in the config file: <param name="kim.soapExposedService.jaxws.security">false</param>
        Hide
        Jason Whaley (Inactive) added a comment -

        re-assigning this back to you to determine next action or if I or someone else need to do anything further.

        Show
        Jason Whaley (Inactive) added a comment - re-assigning this back to you to determine next action or if I or someone else need to do anything further.
        Hide
        Eric Westfall added a comment -

        Probably all I need to do here to follow up is to ensure our results our documented and accessible somewhere. I'll probably get to that here in the next few weeks.

        Show
        Eric Westfall added a comment - Probably all I need to do here to follow up is to ensure our results our documented and accessible somewhere. I'll probably get to that here in the next few weeks.
        Hide
        Eric Westfall added a comment -

        I'm going to close this issue out. I think this plus the linked spreadsheet serve as documentation for the research done here.

        Show
        Eric Westfall added a comment - I'm going to close this issue out. I think this plus the linked spreadsheet serve as documentation for the research done here.
        Hide
        Jessica Coltrin (Inactive) added a comment -

        Closing since these items are now in the release notes.

        Show
        Jessica Coltrin (Inactive) added a comment - Closing since these items are now in the release notes.

          People

          • Assignee:
            Eric Westfall
            Reporter:
            Garey Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel