Solved

Best pracitce with apache www + jboss/tomcat

Posted on 2008-06-12
5
851 Views
Last Modified: 2013-12-02
Hi
I'm wondering what is the best practice with fronting apache before back-end jboss/tomcat application server. Our environment has been created in this way :

First server  - Dell PowerEdge 1950 - 2x Intel Xeon X5355 @ 2.66GHz (4 cores for each processor)  , 8GB RAM - Windows Server 2003 R2 Standard x64 Edition , Apache 2.2.6 (32bit) mod_jk/1.2.25 OpenSSL 0.9.8g, JBoss 4.0.5GA bundled with Tomcat 5.5.20.

Second server - Dell Power Edge R900 - 4x Intel Xeon E7340 (4 cores for each processor), 16GB RAM - Windows Server 2003 R2 Standard x64 Edition - PostgreSQL 8.1.11

Any my question is : what is the best solution for performance - move apache to different server or leave it on same machine with jboss/tomcat ? I have Dell PE 2650 2x Intel Xeon 3,4GHz (1 core processors) 4GB RAM - free machine to move apache there.
0
Comment
Question by:szczecin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 35

Assisted Solution

by:girionis
girionis earned 20 total points
ID: 21782867
We had a (kinda) similar approach, with a weblogic cluster. We had the webserver on a different machine than the server instances.
0
 

Author Comment

by:szczecin
ID: 21820521
I just want to know what is the better solutions with some good explanation.
0
 
LVL 19

Accepted Solution

by:
ramazanyich earned 40 total points
ID: 22343110
As general architecture for such  a configuration it is recommended to put Web frontend server (Apache web server in your case) on separate machine which is available from Internet and application server (jboss/tomcat) on another machine. It is for security purposes. It is said that web server is put into DMZ (demilitarized zone) which is publically available from internet. Normally you should put firewall between a webserver and application server (only open communication port between apache web server and application server)  to avoid direct access to the application server from internet.

For better performance also better put static files (eg. pictures) under apache webserver document dir.
In your case I would put apache web server on first server and application server on second server because second more powerfull and application server requires more resources during working.
0
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 40 total points
ID: 22343118
if performance counts, a different machine is the better solution
if you want single point of failture, one machine is the better solution (where you have to ask yourself if your jboss/tomcat is of any value as long as the apache in fron is off, or the other way around:)
if security counts, a different machine should be prefered 'cause of application isolation
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question