[Fedora-infrastructure-list] release days docs/instructions/faq

Jason Watson jw at jhop.com
Tue Oct 24 21:58:22 UTC 2006


Squid can do a similar task with reverse proxying + caching + LB.

The SNAT table below would possibly explode with the number of 
concurrent connections that we had today.

I think the most important thing would be to get a small set of static 
pages on a dedicated server or three that could take 90% of the hits.

--
Jason Watson

Damian Myerscough wrote:
> We could also implement a load balancer using iptables "Nth" more 
> details here:
> 
> http://www.netfilter.org/patch-o-matic/pom-base.html#pom-base-nth
> 
> if you want to balance the load to the 3 addresses 10.0.0.5, 10.0.0.6
> and 10.0.0.7, then you can do as follows :
> 
> iptables -t nat -A POSTROUTING -o eth0 -m nth --counter 7 --every 3
> --packet 0 -j SNAT --to-source 10.0.0.5
> iptables -t nat -A POSTROUTING -o eth0 -m nth --counter 7 --every 3
> --packet 1 -j SNAT --to-source 10.0.0.6
> iptables -t nat -A POSTROUTING -o eth0 -m nth --counter 7 --every 3
> --packet 2 -j SNAT --to-source 10.0.0.7
> 
> I am sure this could help.




More information about the Fedora-infrastructure-list mailing list