Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Component/s: All
    • Labels:
      None

      Description

      Apache SOAP reads the entire response payload into memory and in most cases makes a few copies of it before returning results to the caller. This is particularly troublesome in the RPC case (Call.invoke) because the String is fed into an XML parser which could just as well take in InputStream (or Reader).

      Significant performance and memory footprint improvements can be had by streaming the response at least as far as the XML parser input.

      PS:- I am working on a patch for exactly this thing and will submit it soon.

      1. streaming-response-patch-20040410.txt
        39 kB
        Bill Carpenter
      2. streaming-response-patch.txt
        38 kB
        Bill Carpenter

        Activity

        Hide
        Bill Carpenter added a comment -

        The attached patch implements streaming responses for Call.invoke(). It doesn't do anything about streaming responses for Message.receive().

        Show
        Bill Carpenter added a comment - The attached patch implements streaming responses for Call.invoke(). It doesn't do anything about streaming responses for Message.receive().
        Hide
        Bill Carpenter added a comment -

        Forgot to mention that the attached patch is against current CVS sources (as of 7 April 2004).

        Show
        Bill Carpenter added a comment - Forgot to mention that the attached patch is against current CVS sources (as of 7 April 2004).
        Hide
        Bill Carpenter added a comment -

        Updated patch to accomodate recent changes in CVS head.

        Show
        Bill Carpenter added a comment - Updated patch to accomodate recent changes in CVS head.

          People

          • Assignee:
            Unassigned
            Reporter:
            Bill Carpenter
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development