You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matt Bathje <mp...@ntsource.com> on 2004/06/16 22:15:32 UTC

[OT] Re: java server mode vs. client mode

Yes, I understand that it may not be completley accurate, but I was less
interested in the Java/C++ comparison than the client/server mode
comparison.

Thanks,
Matt Bathje


----- Original Message ----- 
From: "Eric VERGNAUD" <er...@jlynx.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, June 16, 2004 3:12 PM
Subject: Re: java server mode vs. client mode


> le 16/06/04 21:50, Matt Bathje à mpb@ntsource.com a écrit :
>
> > I posted this on the struts list this morning, but it might get better
> > answers here.
> >
> > I was reading the stories here:
> >
> > http://www.sys-con.com/story/?storyid=45250
> > http://www.kano.net/javabench/
> >
> > Summary:
> > Java in server mode is faster than C++ in the benchmarks run. Java in
client
> > mode is much more iffy, sometimes faster, sometimes slower, and
sometimes
> > the same.
> >
> >
> > So my question becomes - does anybody have any experience running their
> > Tomcat jvm using the -server option instead of letting it default to
client?
> >
> > Based on what the tester says, the only downside of running the jvm in
> > server mode is a longer startup time, but the Java code still beat C++
even
> > with the longer times, so it can't be too bad.
> >
> > So anybody have any experience/thoughts on this?
> >
> >
> > Thanks,
> > Matt Bathje
> >
>
> Matt,
>
> No one can really believe Java is faster than C or C++, because Java is
> itself written in C and C++.
>
> I haven't been through the benchmark code throroughly, but there's
> definitely a bias somewhere.
>
> -------------------------------
> Eric VERGNAUD - JLynx Software
> Cutting-edge technologies and
> services for software companies
> web: http://www.jlynx.com
> -------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org