--

>>>>> "C" == Chris Bianchi <[EMAIL PROTECTED]> writes:

    C> Does anyone have any concrete numbers on the performance and
    C> load impact the JServ module has on Apache.  I'm dealing with a
    C> cautious ISP who is concerned that installing the JServ module
    C> on their shared servers may decrease overall performance.  I
    C> personally haven't experienced this but then again I'm not
    C> running it in a high volume shared web hosting environment,
    C> like an ISP does.  Thanks.

On http://my.sympatico.ca/ Jserv is running under the NES 3.0L server
and the load is *dramatically* less than our earlier experiments with
NES server-Javascript.  On a Sparc Ultra with 512M and 2 CPU,
MySympatico is typically a load of 0.5, and when loaded with 35
simultaneous clients, it rises to 2.9 --- this load will likely go
down once we replace the old hashtables with the newer sync'ed
versions.

CGI/Perl is the worst of all possible worlds.  Not only do you have a
linear growth of server load for every connection, but you also have a
new instance of Perl (5Mb on Solaris) unless you use mod-perl or some
similar technique.  Servlets are multithreaded, can share application
classes between connections, and typically only impact the memory load
for the session data being stored by simultaneous clients.  There is
an initial hit for running a single instance of the JVM (unless you
fudge the security issue by running several JVM's) and the allocation
of the initial Java heap, so I wouldn't use servlets for a trivial
application unless they are already running on the server for some
other purpose.

Efficiency with servlets is remarkably improved, but that is not an
ISP's biggest problem: Servlets will all run under a single user-id,
and there is no concept of a "cgi-wrapper" to change the permissions
for a user servlet (or is there?)  Thus for most ISPs the biggest
obstacle is not efficiency but security.

-- 
Gary Lawrence Murphy <[EMAIL PROTECTED]>  TeleDynamics Communications Inc
Business Telecom Services : Internet Consulting : http://www.teledyn.com
Linux/GNU Education Group: http://www.egroups.com/group/linux-education/
"Computers are useless.  They can only give you answers."(Pablo Picasso)



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to