Have you looked at using Intel(r) XML Suite and Intel(r) SOA Security Toolkit (beta available with AXIS2 API) to enhance performance? www.intel.com/software/xml .
Dave -----Original Message----- From: Dennis Sosnoski [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 11, 2007 6:30 PM To: [email protected] Subject: Re: Real time axis performance - Any case studies available? When I've run time comparisons using Axis2 with and without SSL I've found the SSL time is generally about 40-50% higher than the ordinary HTTP time. I haven't had to tweak anything on the client to obtain that speed, though I do use a self-signed certificate and a local trust store (passed to the client via a JVM arg -Djavax.net.ssl.truststore=...). I use Linux, and just confirmed this performance with Axis2 1.3 and the Sun 1.5 JVM. I don't think you're likely to get much better speed out of Axis2 (unless you're using XMLBeans and can switch to ADB or JiBX binding - XMLBeans is significantly slower than either ADB or JiBX binding, which are about the same speed). If you really need faster web services, the fastest alternative I'm aware of is my own JibxSoap code (http://jibx.sourceforge.net/jibxsoap/index.html). This is somewhat out of date, but is in use by a number of organizations. It's generally at least twice as fast as Axis2, assuming you're passing significant amounts of data. I'm hoping to have a JiBX/WS replacement out soon which will offer equal or better performance and more features. - Dennis -- Dennis M. Sosnoski SOA and Web Services in Java Axis2 Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Joe S wrote: > Paul, > > I tried your suggestion to reuse HTTPClient and it solved my problem! > Thank you so much, you saved me! Https connection speed is now close > to http after establishing the SSL session, but it's still slower than > the .Net client or Jmeter. Is there anything else I can do to improve > the performance using http or https? > > Thanks again. > > Joe > > On Dec 11, 2007 9:16 AM, Paul Fremantle <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Joe > > The article talks about JVM tuning and this article talks about > TCP tuning - at least for Linux. http://wso2.org/library/1721 > > I think the SSL problem may require you to re-use the same > HTTPClient in your Axis2 client. I'm guessing that what's > happening is that the SSL negotiation is happening with every > single request. > > try > stub._getServiceClient().getOptions().setProperty(HTTPConstants.REUSE_HT TP_CLIENT, > "true"); > > Paul > > > On Dec 11, 2007 2:06 PM, Joe S <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hi Paul, > > Thanks for the good points. What tuning we should make to the > TCP stack or JVM? Any reference for more information? > > What I found in my tests using AXIS2 is that using https in > Java client is unacceptably slow, every SOAP operation is 100 > times slower than http. What can we do about it? Does that has > anything to do with AXIS2 configurations? or Sun's > implementation of SSL? > > Thanks > > Joe > > > On Dec 11, 2007 4:21 AM, Paul Fremantle <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Natraj > > We did some significant benchmarking a while back that > showed some pretty good results: > > http://wso2.org/library/588 > > Under heavy load you will also need to tune your TCP stack > and JVM to get good performance. > > Paul > > > On Dec 11, 2007 8:48 AM, Gudla, Natraj (GE Money, > consultant) <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > wrote: > > Hi All, > > Is Axis2 proven to handle real time heavy load of > concurrent request(s) and process them with quick > responses. I am interested to check any case studies > or hard learnings from any one who might have had this > situation. We are trying to build an on-line payment > application, which requires customer payments to be > authored in quick turn around seconds. The web > applicaiton will hit a new web service layer to be > developed which internally interacts with one or more > third party web services. > > Before we kick off using Axis2 we need to understand > the real time performance. Any inputs will highly be > appreciated. > > Cheers > Natraj. > > > > > -- > Paul Fremantle > Co-Founder and VP of Technical Sales, WSO2 > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org <http://pzf.fremantle.org> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > "Oxygenating the Web Service Platform", www.wso2.com > <http://www.wso2.com> > > > > > > -- > Paul Fremantle > Co-Founder and VP of Technical Sales, WSO2 > OASIS WS-RX TC Co-chair > > blog: http://pzf.fremantle.org <http://pzf.fremantle.org> > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > "Oxygenating the Web Service Platform", www.wso2.com > <http://www.wso2.com> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
