-----Original Message-----
From: MicHael Galkovsky [mailto:[EMAIL PROTECTED]
Sent: 16 July 2003 15:24
To: [EMAIL PROTECTED]
Subject: Axis Performance problemI am sending out an array of custom type, when the array is longer then say 20 members the performance of the axis implemented service just crawls to an eventual completion around 30 sec. The db side of the service takes around 2 sec at the worst and the rest I guess is writing to xml. I was under impression that writing to xml should not be that time consuming.
The objects which make up the array are very straight forward
Consisting of about 10 strings and 5 decimals.The method in question only takes one parameter and returns the array. I am using the latest release of axis, tomcat, jdk1.4. xercesImpl-2.0.2.jar.
Is there something I am completely missing or doing very wrong, because I just can't imagine what axis could be doing for that long.
Thanks in advance.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.500 / Virus Database: 298 - Release Date: 7/10/2003
Title: Axis Performance problem
I am
no expert Michael but have you tried pinpointing the exact piece of code that is
taking up all of the time? You could try logging the system time at intervals in
your code and from there gradually find the exact statement that is taking so
long. If you are still unsure why that statement should be so slow then
you could ask the group again giving specifics about the statement/code that is
slow.
Also,
is the code slow on every invocation or just on the first execution after
deployment - if it is the latter than this tends to be
normal.
Also,
are you using DOM or SAX for your XML work - SAX would be better as it is more
efficient and does not load the entire document into memory prior to doing
anything with it like DOM does.
Just
some thoughts...
Jim
Harris
- RE: Axis Performance Problem Clover, James
- RE: Axis Performance Problem Anecito, Anthony (HQP)
- Re: Axis Performance Problem E.Narayanan
- Axis Performance problem MicHael Galkovsky
- Re: Axis Performance problem Davanum Srinivas
- Re: Axis Performance problem Jim Harris
- Re: Axis Performance problem Eric Jain
- RE: Axis Performance problem Davanum Srinivas
- RE: Axis Performance problem Power, Conor