You need to isolate whether it is the servlet container or SOAP. Try making a really trivial Hello World Servlet and see what the performence is with that. If that is OK, then it's something in SOAP -- maybe there is a fixed overhead for every SOAP call regardless of it's simplicity. For example, parsing XML documents is not exactly cheap!
200 ms sounds pretty bad to me. I did alot of perfomence testing of Servlet containers in a previous job (NT and Solaris) and while Tomcat 3.2.3 is pretty poor in performence compared to something like Caucho Resin (which rocks!) I don't think it is that bad. Anyone have any performence statistics (anecdotal or otherwise) on the performence of Tomcat 4.0 vs Tomcat 3.2.3. I'd be interested to hear what you come up with. Barnaby -----Original Message----- From: Anthony LaMarca [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 9:32 AM To: [EMAIL PROTECTED] Subject: Terrible soap performance...Help! Ack! I'm stuck, and hoping one you wonderful people can bail me out. I'm running soap 2.2 and I'm getting terrible performance running the server on a windows 2000 box. I've run soap on both tomcat and jetty and I get the same thing: about 200ms for a roundtrip call. My service is trivial, returns a fixed string. Its not startup costs; if I do the calls over and over again they're all about 200ms. If I move the server over to a (much slower) linux box, the call time drops to around 20ms. All of the machines are connected to the same 100MB/s hub, so there shouldn't be any network latency issues. The client is also a win2k box. Any idea why win2k would be screwed up but linux (redhat 7.2) would be ok? My only thought is that our dns setup might be wacky, our sys-admin is kind of clueless. But I'm invoking the services with ip addresses rather than hostnames, so I'm not sure dns has anything to do with it. how can I fix this? Thank you thank you thank you!!!!!!! -Anthony __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com
