RE: Apache HTTP Server and Tomcat Together

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
There are so many good features are available in apache, those are beneficial for different aspects:
1. Load balancing:
   User requests are processed by more than one server with all servers    sharing the load 'equally'
2. Transparent failover:
   User is not aware of a server crash. Transparent failover can be request level or session level. Transparent failover can be achieved by clustering application servers. With clustering, all the servers are the same and so the loss of a server does not interrupt the service. With load balancing alone, the user has to login again when server crashes.
2. Caching static content:
   Apache gives support to cache static content from backend servers, It increases performance.
3. Server affinity (sticky session):
   With server affinity, multiple requests from a user are processed by the same server. This is required for non clustered servers as the user session data is held on one server only and all requests from that user have to go to the server which has the session data for the user.

These are some important features provided by Apache,
There may be more.
Any way it's useful one. I got a great performance after using apache as a load balancer in front of backend servers.

Narendra


-----Original Message-----
From: hoffmandirt [mailto:dpolites@xxxxxxxxx]
Sent: Friday, May 02, 2008 8:22 AM
To: users@xxxxxxxxxxxxxxxx
Subject:  Apache HTTP Server and Tomcat Together


I have recently started working on a project that uses both Apache HTTP
server and Tomcat to host the JSP applications.  Basically all of the
requests hit the Apache HTTP server first and then they are routed to Tomcat
thanks to mod_jk.  In my case, only JSP applications are being hosted, so I
don't see the need for the Apache HTTP server.  What are some
advantages/disadvantages of integrating both of these together? Why not keep
it simple and use Tomcat only?
--
View this message in context: http://www.nabble.com/Apache-HTTP-Server-and-Tomcat-Together-tp16996606p16996606.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux