Sunday, 25 August 2013

Webapplication common resources & Loadbalance

Webapplication common resources & Loadbalance

I am about to implement load balancing with apache webserver and two
tomcat servers.
The war deployed on both tomcats has common resources like images and css
folders, which are quietly large, so if some change happens in image i
have to do a copy and past again in the other war file deployed.
I am looking out to try to map a fix directory for both the war files that
will fetch from common folder. (i.e Tomcat 1 and Tomcat 2 will access css
folder from C:\css\ same for images )
I tried writing servlet that deployed images but that was not feasible.
Any other way to work around for high availability for resource serving ?
Please Assist if you have any idea.

No comments:

Post a Comment