On Tue, 2008-09-16 at 22:20 +0200, André Warnier wrote:
[...]

> The question I've been holding back since your initial post, is why 
> exactly you do want to load-balance similar requests to 2 Tomcats ?
> 
> Just an idea :
> 
> If it is because you have a) "image stuff" and b) "non-image stuff", and 
> they each represent about 50% of the load, then maybe you do not really 
> want to balance (with the problems of sharing and/or duplicating the 
> images), but you could just use a front-end to split the image stuff and 
> send it to Tomcat-1, and the non-image stuff and send it to Tomcat-2.
> (Apache + mod_rewrite + mod_proxy).
> This way, only Tomcat-1 would need to handle the images (up and down) 
> and it would always be up-to-date.
> 


They are all "image stuff". The idea of duplicate those images are
availability, just in case one tomcat goes down.

But, in the other hand, images (and resize, thumbnails, etc) consumes
resources, and the possibility of using just one server is still around
my head.

If the images load makes big enough, may be using another server just
for that could be a good option.

I've to read something more about mod_proxy, and see if I can apply it
to resolve some load issues.



Thanks for your help André, I'll keep your idea in mind to try it before
selecting the right one to production.


Cheers.


Martín


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to