Forum Moderators: phranque

Message Too Old, No Replies

Three Tier Architecture

Using Mod_Perl, Light httpd, Squid

         

siddharth mazumdar

12:44 pm on Mar 3, 2010 (gmt 0)

10+ Year Member



Hi,

I have been working on a three tier architecture using Apache mod-perl, Light httpd, Squid.

What i want is to get the images to be run on Light httpd and the rest of the content to be working from Apache, While Squid runs in httpd acceleration mode for apache, the problem for me is to bifurcate the httpd request in two parts, The part which access the content should go to Apache mod_perl, the other part which shows the images sholud go to Light httpd.

How should one go about it.

Your help will be greatly appreciated.

Thanks
Siddharth

jdMorgan

8:36 pm on Mar 3, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The simplest way is to put the images on a subdomain, much as Yahoo does with "yimg.yahoo.com."

Failing that, one of your servers will have to reverse-proxy to the other, which negates a lot of the performance improvement.

Jim