Hmm. I figured as much. I guess you need to look at the source and see what
happens inbetween. Which XML parser is it using? (With JAXP this is
sometimes not that easy to figure out!) That could be slow. Or maybe the
JavaBean introspection stuff is not cached. When I was trying to improve the
performence of the product I was working on, I wrote a "lightweight"
profiling class. It was just a singleton class and you could time something
(just using the Date class) and then put it in a bucket with a name (like
"parseDocument") -- it would calculate stats on the timings like
min/max/average etc. Then you run a web whacker on it sending lots of
requests to the server and after you print out the stats. This gives you a
way of seeing how long things take on the server when it is under load.
Profilers (in java especially) don't work very well for this type of thing
since they bring the server to a crawl so anything that is a contention
bottleneck won't really show up.

It might be worth posting your findings to soap-dev -- probably someone
there would know more about what the fixed request overhead is and why it
might be so large. If I get some free cycles, I might take a look at it
myself.

Barnaby

-----Original Message-----
From: Anthony LaMarca [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 19, 2001 11:24 AM
To: [EMAIL PROTECTED]
Subject: RE: Terrible soap performance...Help!



Barnaby,

Whoo, you're barking up the right tree. A simple servlet is fast (~5ms) from
win2k to win2k. So the problem seems to be in the soap stuff. So, any
thoughts
as to where to look? Could soap be using TCP slow-start? Any idea what soap
2.2
would be doing for 200ms on win2k that it would do on linux?

-Anthony

> Yeah, but it goes through all of the SOAP stuff to do it! I was suggesting
> doing it as a servlet to determine if it is the servlet container /
network
> issues, or something specific to the SOAP layer. For example, to return 3,
> it has to generate an XML document (amongst other things).


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Reply via email to