Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Rate limiting options with load balanced servers

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
How to configure load-balanced servers - Problem: We have 2 Windows 2003 based server boxes in a cluster. Each one has to run Apache2 + mod_jk2 + Tomcat5.5 . And each server machine is equipped with 2 NICs (2 IP with one of them being also mapped to a third

Load Balanced HTTPS with Tomcat - Need Help - We have an HTTPS on Tomcat, and we run multiple Servers for Without getting into all the details of what and WHY....we have a hardware SSL decoder in front of our load balancer. So, the..

Redundant or Load Balanced Apache Proxies - Hi, I'm wondering whether I can load balance (make my Apache proxies. What I mean is something like this in Apache conf: * * * ..

Help! How do I load-balance 2 servers with Apache/Tomcat ? - How do I 2 Windows 2003 Servers, where each server box contains an Apache2 server and a Tomcat5 Java Servlet? Session affinity is important because the servlet uses session objects. We were trying the Microsoft NLB software coming with..

Track mod_cache hit/miss rate - I'd like to track how I'm caching with httpd 2.2.4 and but haven't found a good way of logging hit / miss to do so. Can anybody point me in the right Thanks, Sean
Author Message
Jim Hayter

External


Since: Feb 07, 2005
Posts: 81



(Msg. 1) Posted: Mon Oct 01, 2007 1:06 pm
Post subject: Rate limiting options with load balanced servers
Archived from groups: alt>apache>configuration (more info?)

I'm looking for ways to rate limit page views due to users who get hold
of some tool and attempt to copy hundreds of thousands of pages from our
web sites. If we had a single web server, there appear to be several
options (mod_throttle, mod_bandwidth, mod_cband, etc.). We have
multiple web servers behind hardware load balancers, so no single server
has a view of all the traffic.

My current thought is to put dedicated firewalls in front of the load
balancers to throttle connections above a certain limit - we are
currently in a hosting situation with shared firewalls and do not have
this level of control.

Does anyone have alternate suggestions? We are running Apache 1.3 with
intentions of migrating most sites to Apache 2.2 in the near future.

Thanks,
Jim

 >> Stay informed about: Rate limiting options with load balanced servers 
Back to top
Login to vote
sean dreilinger

External


Since: Jun 26, 2007
Posts: 4



(Msg. 2) Posted: Thu Oct 11, 2007 9:55 am
Post subject: Re: Rate limiting options with load balanced servers [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

how about changing your load balancer scheduling algorithm to one that binds
individual users to a single back-end server? then you can apply your choice of
available rate-limiting options that you've already turned up.

you didn't mention what sort of load balancing hardware you're using, here is
documentation of some generic / widely available load-balancing algorithms c/o
the linux ipvs project:

http://www.linuxvirtualserver.org/docs/scheduling.html

and if you can't adjust your load balancers, you could consider setting up a
high-availability proxy server (instead of hardware load balancing), and
employing your rate limiting options on the proxy server. there's a good essay
(and proxy software) for this approach here:

http://haproxy.1wt.eu/

good luck!
-sean

--
sean dreilinger - http://durak.org/sean/


Jim Hayter wrote:
> I'm looking for ways to rate limit page views due to users who get hold
> of some tool and attempt to copy hundreds of thousands of pages from our
> web sites. If we had a single web server, there appear to be several
> options (mod_throttle, mod_bandwidth, mod_cband, etc.). We have
> multiple web servers behind hardware load balancers, so no single server
> has a view of all the traffic.
>
> My current thought is to put dedicated firewalls in front of the load
> balancers to throttle connections above a certain limit - we are
> currently in a hosting situation with shared firewalls and do not have
> this level of control.
>
> Does anyone have alternate suggestions? We are running Apache 1.3 with
> intentions of migrating most sites to Apache 2.2 in the near future.
>
> Thanks,
> Jim

 >> Stay informed about: Rate limiting options with load balanced servers 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]