We have wai service running on netscape enterprise server.
We have cgi in perl for the same task.
I noticed wai service is very slow in case of multiple requests (just above 15 simultaneous requests )
compared to perl.
I heard JAVA is slow.
Is it slow to that extent. Is there no advantage with WAI over perl cgi?
Can some one help me with this?
Thanks in advance.
Naga,
Comparing two different programs running in two different
environments and written in two different languages is extremely
difficult. The difference in performance could be caused by many
different factors. Nothing else can slow a program down like the
programmer who wrote it.
That said, the Java VM embedded in Enterprise Server is slow. My
experience on Solaris suggests that the Sun JRE 1.1 VM at least
twice as fast (this is a comparison of running servlets with ES
natively vs. using JRun). For long running server-side
applications like WAI apps I would expect HotSpot to be even
faster. You can't change the VM used by Enterprise Server 3.x,
but you can in ES 4.x (due out in a week or two, last I heard).
(I don't know if you can run Java WAI applications out-of-process
on other JVMs in ES 3.x. I doubt it.)
John L
cc: Naga Yerramsetti