We cannot compare those 3 seconds with the 500 roundtrips per second. In the first
case, the 3 seconds also include the startup time for the JVM, the initialization,
etc..., which is not true in the second case.
My own tests, running in a WinNT environment, gave something like:
-about 3 seconds when running a client which would perform a single request;
-about 4 or 5 roundtrips per second when my client performs a loop of simple requests;
-about 15 roundtrips per second after I added a "setTcpNoDelay(true)" in one of the
SOAP classes(HTTPUtils.java)
_______________
Serge Arsenault
-----Original Message-----
From: Radovan Janecek [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 12, 2001 1:22 PM
To: [EMAIL PROTECTED]
Subject: Re: Performance problems
Since I got some follow-up questions, I just want to say it more precisely:
This number does not mean a throughput. It means a number of individual
sequential roundtrips between one client and one server. I.e. one roundtrip
is about 2 ms.
Radovan
----- Original Message -----
From: "Radovan Janecek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 2:10 PM
Subject: Re: Performance problems
> I meant 500 roundtrips. Client sends a request, server eats it and
produces
> response, client gets a response.
>
> R.
>
> ----- Original Message -----
> From: "William Brogden" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, November 12, 2001 2:55 PM
> Subject: Re: Performance problems
>
>
> > Throughput is not the same as total delay from message sent
> > to response received. What is the WASP round-trip delay?
> >
> > Radovan Janecek wrote:
> > >
> > > 3 seconds for one message is a problem even over HTTP :-)
> > > WASP (Systinet's SOAP java stack) does about 500 messages (helloworld
> like)
> > > per second.
> > >
> > > Sincerely
> > >
> > > Radovan
> > >
> > > Radovan Janecek
> > > VP, Engineering, Systinet (formerly Idoox)
> > > http://www.systinet.com
> > >
> > > ----- Original Message -----
> > > From: "Ian Snead" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, November 12, 2001 1:21 PM
> > > Subject: Re: Performance problems
> > >
> > > >
> > > > I'm a little confused. 3 seconds over HTTP is a
> > > > performance problem? Sounds about average to me,
> > > > especially with XML parsing involved at both
> > > > ends...please correct me if this doesn't make
> > > > sense.
> > > >
> > > > Anybody got a good reference URL to a digest of
> > > > the SOAP performance debate?
> > > >
> > > > Cheers!
> > > >
> > > > Ian
> > > > [EMAIL PROTECTED] wrote:
> > > > >
> > > > > I am having BIG performance problems just running a simple (Hello
> World)
> > > > > type program under Suse Linux 7.1. My setup is ;
> > > > >
> > > > > JAVA (SUN) 1.3.1
> > > > > TOMCAT 4.0.1
> > > > > SOAP 2.2
> > > > > JavaMail 1.2
> > > > > Xerces-J 1.4.3
> > > > > JAF 1.0.1
> > > > >
> > > > > And the JVM is set to -classic in jvm.cfg.
> > > > >
> > > > > When I run the client (built with the same s/w as above) on either
> the
> > > same
> > > > > Linux box or on a different NT Workstation V4 box, the response
time
> > > from
> > > > > hitting enter to getting the response is around 3 seconds.
> > > > >
> > > > > This application is v.simple (copied from a JavaWorld article at
> > > > > http://www.javaworld.com/javaworld/jw-04-2001/jw-0427-soap.html).
> > > > >
> > > > > To get it all working I changed catalina.sh in the tomcat/bin
> directory
> > > to
> > > > > include the above components in the classpath as follows ;
> > > > >
> > > > > CP=$CP:"/home/steve/soap-2_2/lib/soap.jar"
> > > > > CP=$CP:"/home/steve/javamail-1.2/mail.jar"
> > > > > CP=$CP:"/home/steve/jakarta-tomcat-4.0.1/common/lib/servlet.jar"
> > > > > CP=$CP:"/home/steve/jakarta-tomcat-4.0.1/server/lib"
> > > > > CP=$CP:"/usr/java/jdk1.3.1_01/lib"
> > > > > CP="/home/steve/xerces-1_4_3/xerces.jar":$CP
> > > > > CP=$CP:"/home/steve/jaf-1.0.1/activation.jar"
> > > > > CP=$CP:"/home/steve/soap-2_2/samples"
> > > > >
> > > > > The above lines were added after the CP env.var is set.
> > > > >
> > > > > The Java Profiler shows no real CPU usage.
> > > > >
> > > > > The CPU monitor shows the CPU pushing 100% for a brief period.
> > > > >
> > > > > The hard disk light flickers briefly (logging ?)
> > > > >
> > > > > I guess my setup is wrong somewhere but I have no idea where.
> > > > >
> > > > > Is anyone else running this config ?
> > > > >
> > > > > Any help will be very gratefully taken.
> > > > >
> > > > > Thanks in advance.
> > > > >
> > > > > Steve Mullarkey
> > > > >
> > > > > We have a rigidly enforced E-mail Standards Policy. Any E-mail or
> E-mail
> > > > > attachment that is in contravention of this policy would be
outside
> the
> > > > > scope of authority of our employees.
> > > >
> > > > --
> > > > Ian Snead
> > > > Software Developer
> > > > EzGov
> > > > Work : 404 836 7957
> > > >
> > > > "Return a buffered reader to receive
> > > > back the response to whatever was sent to whatever."
> > > >
> > > > - from the Apache SOAP documentation
> > > >
> >
> > --
> > WBB - [EMAIL PROTECTED]
> > Java Cert mock exams http://www.lanw.com/java/javacert/
> > Author of Java Developer's Guide to Servlets and JSP
> > ISBN 0-7821-2809-2
> >
>