tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <>
Subject Re: SunONE versus Tomcat performance
Date Tue, 03 Aug 2004 12:38:27 GMT
having used SunOne in the past, I would agree 2-5x faster is not
likely or even possible.  SunOne is a combination of the old Netscape
code, jvm and the reference implementation of the servlet spec.

In practice, it is no different than servlet containers that use
native library for handling sockets. The last time I benchmarked
Netscape on a real application, it was slower than tomcat 4.1.x.  The
configuration and debugging mode of SunOne is also a pain to use and
often didn't work correctly.

As usual, the only way to know which is better is to write your app
and stick to the standard API. Once you have the app done, benchmark
the app on both and get real data. Developers should know better than
take benchmarks as "truth". At best they're only reference points and
baseline data. When you consider most servlet containers are already
in their 4th/5th release and everyone has had plenty of time to
optimize performance and scalability, the differences are not going to
be significant at this point.


On Tue, 03 Aug 2004 08:09:22 +0200, Nikola Milutinovic
<> wrote:
> Jérôme Duval wrote:
> > Why would you compare Apache and Tomcat vs. SunONE? Isn't there a lot of
> > overhead in using the connector and all that? Seems to me a more logical
> > test would be Tomcat vs SunONE and the most recent version of both, which
> > Tomcat 4.1.30 is not. I smell bogus test results!
> When I see 2-5 times, I smell bogus results. I know that SunONE is
> professional, I know that Tomcat is free and contributed, but it CANNOT
> be 2x-5x faster. Even if SunONE is written in assembler (which I doubt).
> Even if they wrote it in C++, they still need Java classloader and other
> stuff. There just isn't that much room for code optimization. If they
> are stating that with high user load SunONE outperforms Tomcat, I'd say
> it's either misconfigured Tomcat or connector issues.
> Nix.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message