Steve,

Multiple VMs are useful when you have different applicaitons you'd like to
separate from each other. A typical example is an ISP. The ones that do
servlet hosting tend to give each client their own VM. This is more
resource-intensive, but allows each client to start and stop their VM
independently without affecting the other clients. Also, if one client is
testing code and has a bug (say, an infinite loop), it won't affect the
others. This translates well to internal environemnts, as well. You can one
servlet runner/app server and a different VM for each group's application.
(Where I am now, each group has its own servlet engine process and VM, all
running under a single WebSphere installation).

Out-of-process servlet runners are theoretically slower because the web
server has to talk to the servlet runner through an external protocol.
In-process servlet runners are generally faster because there is no extra
step -- the request is forwarded to the servlet runner in the same process.
Extensions that run in-process, however, can have a greater effect on the
web server (so, if the VM crashes, so does your web server).

Kito D. Mann
Virtua Communications Corp.




[EMAIL PROTECTED]
Monday April 17, 2000 03:49 PM

Please respond to [EMAIL PROTECTED]
To:   [EMAIL PROTECTED]
cc:    (bcc: Kito Mann/PSG/Prudential)
Subject:  Mulitple VMs




How does one determine how many VMs to use with a servlet runner?

Is there any papers that describe the different scenarios?

For example, when using ServletExec I could run IN PROCESSS with one VM ,
or OUT
OF PROCESS with multiple VMs.
Which should I use?

How do I know when I need the mulitple VM capability within a servlet
runner?

How are the multiple VMs typically used?

- steveb

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to