Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CGI vs WAI

3 views
Skip to first unread message

Naga Yerramsetti

unread,
Aug 27, 1999, 3:00:00 AM8/27/99
to
Hi,

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,


John Lacey

unread,
Aug 28, 1999, 3:00:00 AM8/28/99
to Naga Yerramsetti
Naga Yerramsetti wrote:
>
> 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?

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

0 new messages