axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <gdani...@macromedia.com>
Subject RE: Performance degradation with 1.1RC1
Date Fri, 02 May 2003 18:25:01 GMT
Oh, c'mon, Wes, we didn't even mention your proprietary binary GLUE<->GLUE protocol!
:)
 
--G
-----Original Message-----
From: Wes Moulder [mailto:wes@themindelectric.com] 
Sent: Friday, May 02, 2003 1:00 PM
To: axis-dev@ws.apache.org
Subject: RE: Performance degradation with 1.1RC1


Hey!
That's cheating!
 
*blink*
How are we supposed to stay the fastest if you keep giving away our sekrits like that?
*inno*
 
--Wes
 
-----Original Message-----
From: Volkmann, Mark [mailto:Mark.Volkmann@AGEDWARDS.com] 
Sent: Friday, May 02, 2003 10:50 AM
To: 'axis-dev@ws.apache.org'
Cc: Warner, Jack; Burney, Marlon
Subject: RE: Performance degradation with 1.1RC1
 
One thing that I think slows down Axis is response message sizes. 
For the test case I submitted to dims here are the sizes of the response message for different
web service toolkits. 
Axis       232389 bytes 
GLUE        57175 bytes 
WASP        96220 bytes 
WebLogic 8  73708 bytes 
Here's a sample of a small GLUE response with newlines and indentation added for readability.

<soap:Envelope 
  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' <http://www.w3.org/2001/XMLSchema-instance'>
 
  xmlns:xsd='http://www.w3.org/2001/XMLSchema' <http://www.w3.org/2001/XMLSchema'> 

  xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' <http://schemas.xmlsoap.org/soap/envelope/'>
   
  xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' <http://schemas.xmlsoap.org/soap/encoding/'>
 
  xmlns:n4='http://www.themindelectric.com/package/com.agedwards.soa.model/' <http://www.themindelectric.com/package/com.agedwards.soa.model/'>
> 
  <soap:Body 
    soap:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' <http://schemas.xmlsoap.org/soap/encoding/'>
 
    xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' <http://schemas.xmlsoap.org/soap/envelope/'>
> 
    <n:getFirstHoldingResponse xmlns:n='x'> 
      <Result> 
        <security xsi:type='n4:Bond'> 
          <name>Florida Power &amp; Light</name> 
          <symbol>FPL</symbol> 
          <currentSharePrice>43.91</currentSharePrice> 
        </security> 
        <shares>75.0</shares> 
      </Result> 
    </n:getFirstHoldingResponse> 
  </soap:Body> 
</soap:Envelope> 
Here's the same data as respresented in an Axis response. 
<soapenv:Envelope 
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ <http://schemas.xmlsoap.org/soap/envelope/>
" 
  xmlns:xsd="http://www.w3.org/2001/XMLSchema <http://www.w3.org/2001/XMLSchema> " 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance <http://www.w3.org/2001/XMLSchema-instance>
"> 
  <soapenv:Body> 
    <ns1:getFirstHoldingResponse 
      soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/ <http://schemas.xmlsoap.org/soap/encoding/>
" 
      xmlns:ns1="urn:ClientInfo"> 
      <getFirstHoldingReturn href="#id0"/> 
    </ns1:getFirstHoldingResponse> 
    <multiRef id="id0" 
      soapenc:root="0" 
      soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/ <http://schemas.xmlsoap.org/soap/encoding/>
" 
      xsi:type="ns2:Holding" 
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/ <http://schemas.xmlsoap.org/soap/encoding/>
" 
      xmlns:ns2="http://model.soa.agedwards.com <http://model.soa.agedwards.com> ">

      <security href="#id1"/> 
      <shares xsi:type="xsd:double">75.0</shares> 
    </multiRef> 
    <multiRef id="id1" 
      soapenc:root="0" 
      soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/ <http://schemas.xmlsoap.org/soap/encoding/>
" 
      xsi:type="ns3:Bond" 
      xmlns:ns3="http://model.soa.agedwards.com <http://model.soa.agedwards.com> " 
      xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/ <http://schemas.xmlsoap.org/soap/encoding/>
"> 
      <currentSharePrice xsi:type="xsd:double">43.91</currentSharePrice> 
      <name xsi:type="xsd:string">Florida Power &amp; Light</name> 
      <symbol xsi:type="xsd:string">FPL</symbol> 
    </multiRef> 
  </soapenv:Body> 
</soapenv:Envelope> 
Treating everything as a multiRef even if it's only used once is dramatically inflating the
response sizes.  Especially because each multiRef repeats lots of namespace declarations.
 Beyond size concerns, notice how much more human readable the GLUE response compared to the
Axis response.
> -----Original Message----- 
> From: Davanum Srinivas [mailto:dims@yahoo.com <mailto:dims@yahoo.com> ] 
> Sent: Friday, May 02, 2003 9:41 AM 
> To: axis-dev@ws.apache.org 
> Subject: RE: Performance degradation with 1.1RC1 
> 
> 
> Tom, 
> 
> No. I haven't found it yet. 
> 
> Thanks, 
> dims 
> 
> --- Tom Jordahl <tomj@macromedia.com> wrote: 
> > 
> > Hey Dims, 
> > 
> > Do we have any idea what changed between RC1 and RC2 to 
> cause us to need this caching? 
> > 
> > -- 
> > Tom Jordahl 
> > Macromedia Server Development 
> > 
> > -----Original Message----- 
> > From: Davanum Srinivas [mailto:dims@yahoo.com <mailto:dims@yahoo.com> ] 
> > Sent: Thursday, May 01, 2003 9:51 PM 
> > To: Volkmann, Mark 
> > Cc: axis-user@ws.apache.org; axis-dev@ws.apache.org 
> > Subject: RE: Performance degradation with 1.1RC1 
> > 
> > My last check-in today fixed the problem :) :) Please try 
> tonight's build. 
> > 
> > RC 1      :  9.945 seconds 
> > RC 2      : 36.562 seconds 
> > Latest CVS:  9.434 seconds 
> > 
> > Thanks, 
> > dims 
> > 
> > --- "Volkmann, Mark" <Mark.Volkmann@AGEDWARDS.com> wrote: 
> > > I've finally extracted a part of my test application that 
> demonstrates a 
> > > severe performance problem in RC2.  I ran this with the 
> Axis webapp deployed 
> > > in Tomcat 4.1.24 under Windows NT.  With RC1, "ant run" 
> reports 22 seconds. 
> > > With RC2, it reports 81 seconds. 
> > > 
> > > I hope this helps you to isolate the problem.  Good luck! 
> > > 
> > > 
> > > 
> > > 
> ************************************************************** 
> ********************* 
> > > WARNING:  All e-mail sent to and from this address will 
> be received or 
> > > otherwise recorded by the A.G. Edwards corporate e-mail 
> system and is 
> > > subject to archival, monitoring or review by, and/or 
> disclosure to, 
> > > someone other than the recipient. 
> > > 
> ************************************************************** 
> ********************** 
> > > 
> > 
> > > ATTACHMENT part 2 application/octet-stream name=BigResponse.zip 
> > 
> > 
> > 
> > ===== 
> > Davanum Srinivas - http://webservices.apache.org/~dims/ <http://webservices.apache.org/~dims/>
 
> > 
> > __________________________________ 
> > Do you Yahoo!? 
> > The New Yahoo! Search - Faster. Easier. Bingo. 
> > http://search.yahoo.com <http://search.yahoo.com>  
> 
> 
> ===== 
> Davanum Srinivas - http://webservices.apache.org/~dims/ <http://webservices.apache.org/~dims/>
 
> 
> __________________________________ 
> Do you Yahoo!? 
> The New Yahoo! Search - Faster. Easier. Bingo. 
> http://search.yahoo.com <http://search.yahoo.com>  
> 


***********************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
************************************************************************************

Mime
View raw message