Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > performance question: one vs two JVM's

Reply
Thread Tools

performance question: one vs two JVM's

 
 
Jan Van Lysebeth
Guest
Posts: n/a
 
      01-10-2004
Today I had a discussion about the performance of a J2EE e-commerce
application we are developing. Our application has two parts: a public part
and a private one. The public part consists of a product catalogue and a
shopping basket functionality and will be used by 150 concurrent users. The
private part is the back-end of the shop. It is used for administrating the
orders, the payments, the product catalogue, the invoices,... as well as
reporting to the shopmanagers. This part will only be used by 25 concurrent
users.

The application will be deployed on a cluster of two sunONE application
servers. The data-tier is a cluster of two Informix servers. We can't change
this architecture because it's the reference architecture the customer uses
for all it's applications.

I wonder if splitting up the two parts of our application and deploy them as
2 different ear-files could result in better performance. A second related
question. The older IPlanet application server could be configured to use
more than 1 JVM; can you gain performance by running an application on
multiple JVM's without changing the hardware the VM's run on?



 
Reply With Quote
 
 
 
 
Chris Smith
Guest
Posts: n/a
 
      01-10-2004
Jan Van Lysebeth wrote:
> I wonder if splitting up the two parts of our application and deploy them as
> 2 different ear-files could result in better performance. A second related
> question. The older IPlanet application server could be configured to use
> more than 1 JVM; can you gain performance by running an application on
> multiple JVM's without changing the hardware the VM's run on?


No opinion on separate EAR files. Probably best to benchmark rather
than going on logic there, as I don't see strong factors pushing in
either direction.

Generally speaking, running multiple JVMs on a host is not good for
performance. There's not a lot of contention within the Java core
platform APIs or virtual machine, and there shouldn't be a lot of
contention within a well-implemented J2EE application server. On the
other hand, deploying on multiple virtual machines causes the system to
maintain duplicate copies of code, and the JVM is notoriously bad at
scaling to multiple VMs on a single host.

Running separate apps in multiple JVMs on the same host is generally
intended for purposes like isolating instability or decreasing points of
failure. It's not a performance trick.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two Car Insurance policies earning NCD on two cars...can these beclubbed into one next year? sherkhanthegreat@gmail.com Computer Support 13 03-27-2010 02:18 AM
How to compare two SOAP Envelope or two Document or two XML files GenxLogic Java 3 12-06-2006 08:41 PM
Two unit 3750 stack: one cable or two? sphealey Cisco 6 06-30-2005 07:25 PM
CSS aligning two things on one line with one left and one right news.frontiernet.net HTML 6 04-16-2004 02:44 AM
Filling two datagrids from two SELECTS in one DataSet DC Gringo ASP .Net 2 02-26-2004 09:56 PM



Advertisments