
ex at valis
Apr 25, 2002, 9:57 AM
Post #7 of 7
(1572 views)
Permalink
|
|
[OT] Replacing reverse squid with mod_proxy
[In reply to]
|
|
25 marzec (pon) : Hans Juergen von Lengerke wrote: >We are currently using squid set up as a reverse proxy to accelerate >several heavy backends (mod_perl, etc) and to protect them from slow >client connections. > >I am looking into replacing the squid with apache+mod_proxy. Why? >Because ultimately I'd like to be able to cluster the frontend using >mod_backhand + wackamole. The primary reason for clustering isn't for >load-balancing (yet) but for failover handling. So, ideally, one machine >should be enough to serve the whole server load. I use similar configuration, but with no backhand or wackamole (yet :). Frontend: apache+mod_proxy+mod_gzip (self compiled, static, very small) Backends: apache+php (for dynamic content), mathopd (for static files/images) Frontend is PentiumIII 700Mhz with 512MB ram. I dont use any cache stuff in mod_proxy (mathopd for static files is really fast and lightweight solution), but i compress (mod_gzip) all html pages which proxy forwards. Memory usage on frontend is very low, here are some samples: 101 apaches - 77M Active 420 apaches - 155M Active 689 apaches - 210M Active 927 apaches - 265M Active 1298 apaches - 304M Active Proxy avarage (from 10 days) is 40 requests/sec, but this number is of course much bigger at high traffic hours. apache+mod_proxy+mod_gzip is really cool solution .ex. -- Tomasz Szymczak http://gratka.pl/ http://naszemiasto.pl/ _.-. jgs GCS/M d- s-:- a-- C+++$ UL++$>++++$ P++ L++>++++ E W++ N+ w O+ '( ^{_} ( PS+ PE !Y PGP+ t- X- R tv-- b++>+++ DI D>+++ G e>++++ h! r- y? `~\`-----'\ Umysł sprawia, że wszystko się zmienia, żeby upozorować upływ czasu )_)---)_)
|