Load balancing deal with the techniques involved on using multiple systems to deal with high demands, balancing the load between those multiple systems. Questions deal with networking and server load balancing, using dedicated hardware or not.

learn more… | top users | synonyms (2)

44
votes
16answers
45k views

Is Round-Robin DNS “good enough” for load balancing static content?

We have a set of shared, static content that we serve up between our websites at http://sstatic.net. Unfortunately, this content is not currently load balanced at all -- it's served from a single ...
11
votes
2answers
24k views

Load balancing & NAT-ing multiple ISP connections on Linux

I have two internet connections from two different ISPs and I need to balance the traffic originating to and from my network between the two ISPs. I am using Debian GNU/Linux. My set-up is like this -...
4
votes
5answers
6k views

How can I automaticaly change the DNS A record to point my site to a secondary server in case of a failure?

My hosting is charging me a $50/month fee to put my servers on the same VLAN so that I create a cluster using the Network Load Balancing feature. I'm really not needing split the load between the ...
33
votes
5answers
34k views

How can I remove balanced node from haproxy via command line?

I have haproxy running as my load-balancer and from the stats web interface that comes with haproxy, I can put a web server into maintenance mode (and bring it back out again) - which is great! ...
19
votes
8answers
3k views

Software http load balancer?

Right now we only have one back-end server per site/web service. I'd be interested to hear people's experiences with various load balancer apps (something that runs on Linux). What would you ...
9
votes
5answers
2k views

What are the best techniques for preventing denial of service attacks?

Currently I have been using (D)DoS-Deflate to manage such situations on numerous remote servers, along with Apache JMeter for load testing. Overall it has been working fairly well, although I'd like ...
4
votes
2answers
540 views

How to create a high-availability application server?

I am working with some hardware units which uses mobile Internet to communicate to my application server. Initially, the hardware had a hard-coded IP address (load balancer) in the hardware for ...
14
votes
2answers
27k views

nginx automatic failover load balancing

I'm using nginx and NginxHttpUpstreamModule for loadbalancing. My config is very simple: upstream lb { server 127.0.0.1:8081; server 127.0.0.1:8082; } server { listen 89; ...
11
votes
3answers
16k views

How to setup HAProxy with failover?

I understand that, to get failover on an HAProxy load balancing setup, you need two machines running HAproxy (and route it to several webserver instances). But in this case, say abcd.com, how do we ...
9
votes
3answers
9k views

What kind of load balancing algorithms are there

I was researching different load balancing algorithms for HTTP and I just found 3. Random, Round Robin and Weighted Round Robin. Are there any other options? Thanks Paul
11
votes
8answers
4k views

Load balancing Apache on a budget?

I am trying to get my head around the concept of load balancing to ensure availability and redundancy to keep users happy when things go wrong, rather than load balancing for the sake of offering ...
1
vote
3answers
8k views

Is it possible to make redundancy on HAProxy server?

I am going to use HAProxy as a load balancer that will balance requests on 3 application servers. But what if balancer server (HAProxy) fails at some point? I was thinking of cloning the first ...
12
votes
9answers
90k views

Point Multiple IP Addresses to a Single Host Name

In Windows System, there is this file at C:\WINDOWS\system32\drivers\etc\hosts. This file allows us to default a specific IP address to a host name. The issue now is whether I can set multiple IP ...
2
votes
5answers
2k views

Is there a sensible way of 'teaming' two ADSL connections?

I work in an office complex that has two seperate ADSL connections, which they use to provide two seperate networks (actually both the ADSL routers go into a Cisco managed switch with two VLANs, one ...
18
votes
5answers
27k views

How do I Install Intermediate Certificates (in AWS)?

I have installed private key (pem encoded) and public key certificate (pem encoded) on Amazon Load Balancer. However, when I check the SSL with site test tool, I get the following error: Error ...
17
votes
5answers
29k views

Hardware vs Software load balancers: Just a cost issue?

If cost were not an issue, would there be any benefit in deploying a software load balancer for web traffic compared to a hardware one?
25
votes
14answers
3k views

Load-balancer options [closed]

I am looking at a number of possible options for load-balancing. So far, I am constrained to the following options: DNS server load-balancer, balancing to a cluster of tomcat servers, with ...
4
votes
2answers
3k views

Requests per second slower when using nginx for load balancing

I've set up nginx as a load balancer that reverse proxies requests to 2 Apache servers. I've benchmarked the setup with ab and am getting approx 35 requests per second with requests distributed ...
5
votes
4answers
3k views

Apache Failover and Load Balancing

I am working for a small finance firm as a Web Application Developer. Our company has an interal website coded in PHP and running on Apache. Recently our server went down and the website was down for ...
3
votes
2answers
2k views

Remote Desktop Server farm stops working

A previously nicely functioning Remote Desktop Server Farm ahs stopped working two days ago. The setup is as follows: DNS resolves "myfarm.mydomain.local" to the IPs of all the farm member servers ...
0
votes
3answers
3k views

Uneven round-robin DNS (i.e. not round-robin)?

On round-robin DNS every IP associated to a domain has equal probability of being picked by the client. But what if I want to set a round-robin domain over two IPs but not in a 50%-50% manner? For ...
2
votes
2answers
7k views

Possible to redirect from HTTPS to HTTP behind load-balancer?

I have a basic ASP.NET application that sits behind an F5 load-balancer. Incoming SSL requests (over HTTPS) terminate at the load-balancer and all internal communication between the load-balancer and ...
3
votes
3answers
4k views

Widely-used load balancing solutions?

I asked this question, and a bit disappointed that NLB was not a widely-used solution. I want to ask about widely-used solutions in the world now. Can you give me a list and a brief introduction for ...
2
votes
1answer
3k views

load balancing multiple gateway using route and iptables

under linux, how do I load balancing multiple gateway by using route, note that I have one input interface lets say eth0, and one output interface lets say eth1. eth1 can connect to multiple IP ...
2
votes
8answers
833 views

What hardware do I need to add a backup internet connection?

I have cable internet now but it goes offline from time to time during the day. I work from home so that is a problem. I can get DSL as well. What hardware do I need to add a backup internet ...
2
votes
5answers
3k views

I am looking for a good load balancing (or reverse proxy) software for TCP and HTTP, any suggestions? [closed]

I am looking for a good load balancing (or reverse proxy) software for TCP and HTTP, any suggestions?
12
votes
6answers
5k views

What is a typical method to scale out a software load balancer?

I often see web app architectures with a SLB / reverse-proxy in front of a bunch of app servers. What happens when the number of connections to the SLB requires too many resources for a single SLB to ...
18
votes
6answers
46k views

How can I use HAproxy with SSL and get X-Forwarded-For headers AND tell PHP that SSL is in use?

I have the following setup: (internet) ---> [ pfSense Box ] /-> [ Apache / PHP server ] [running HAproxy] --+--> [ Apache / PHP server ] ...
13
votes
3answers
11k views

Issues with EC2 Elastic Load Balancer DNS and routing

We're trying to run a fairly straightforward setup on Amazon EC2 - several HTTP servers sitting behind an Amazon Elastic Load Balancer (ELB). Our domain is managed in Route53, and we have a CNAME ...
17
votes
2answers
13k views

Do HTTP reverse proxies typically enable HTTP Keep-Alive on the client side of the proxied connection and not on the server side?

HAProxy has the ability to enable HTTP keep-alive on the client side (client <-> HAProxy) but disable it on the server side (HAProxy <-> server). Some of our clients connect to our web service ...
13
votes
2answers
21k views

How to divert traffic based on hostname using HAProxy?

I've had some initial success with HAProxy setting up a bunch of app servers listening on various other ports. I now have another webserver listening on one port, and i'd like to what changes to make ...
11
votes
3answers
13k views

What are the Differences between HAProxy and Ngnix in reverse proxy mode?

What are the differences between HAProxy and Nginx when it comes to their abilities as a reverse proxy?
11
votes
3answers
36k views

What is the downside to sticky sessions with load balancers?

We have a web farm of IIS7 machines which work great. In front of them is an F5 Big-IP hardware load balancer, also working fine :) Currently we're using an ASP.NET State Service to handle our ...
12
votes
3answers
13k views

How do you create a zone apex alias that points to a Elastic Load Balancer in the Route 53 GUI?

I created aliases for my domain name's zone apex using the ELB CLI as described in Elastic Load Balancing Developer Guide. I also added a AAAA record using the --rr-type AAAA flag, which is not ...
10
votes
1answer
12k views

HAProxy reqrep remove URI on backend request

real quick question regarding HAProxy reqrep. I am trying to rewrite/replace the request that gets sent to the backend. I have the following example domain and URIs, both sharing the same domain ...
8
votes
6answers
3k views

why no examples of horizontally scalable software load balancers balancing ssl?

I have a bunch of questions with respect to ssl, local sessions, and load balancing which seem to be interconnected, so I apologize in advance for the length of this question. I have a website which ...
5
votes
2answers
7k views

HAProxy switch only in case of server down

Let's say I have 2 servers - SA and SB. Is it possible to configure HAProxy to work like this: All connections goes to SA -> SA goes down -> HAProxy switches all connections to SB -> until SB is not ...
3
votes
2answers
3k views

Load balancing / Failover for multiple VPS's set across different datacenters

I know many variants of this question has been asked already, but I still can't find a good answer to my needs. What I want to do is setup a few (2 at minimum) VPS's to host my web apps on. I'd like ...
13
votes
6answers
19k views

Windows replacement for HAProxy

It does not appear that there is a similar question to this already posted, so I will go ahead and ask. I am working on a project that could benefit from having two - four servers handling incoming ...
10
votes
4answers
3k views

Load balancing using IIS7 request routing and load balancing module

Microsoft has a lot of documentation about their somewhat new load balancing and request routing module for IIS7 located here: http://blogs.iis.net/bills/archive/2009/02/16/iis7-request-routing-and-...
7
votes
1answer
2k views

Poor load balancer performance on rackspace and centos

I am load testing different options for load balancing, and am getting poor results from Nginx, haproxy, and varnish. I have one 4GB load balancer at Rackspace, hitting 4x1GB app servers. I'm ...
5
votes
6answers
32k views

Apache load balancer limits with Tomcat over AJP

I have Apache acting as a load balancer in front of 3 Tomcat servers. Occasionally, Apache returns 503 responses, which I would like to remove completely. All 4 servers are not under significant load ...
1
vote
1answer
4k views

Linux split access (multiple internet connections w/ load balancing)

Short story: I've got a faulty cisco 1811 on my hands. It's a dual wan fixed configuration router. I had it setup with route maps to do load balancing. It works but every couple of hours it shits ...
8
votes
2answers
2k views

Multi-site high availability

We have a SaaS application that we need to be highly available. We already have an expensive, well-maintained Hyper-V failover cluster, but today the datacenter where we host that cluster had a five-...
4
votes
2answers
3k views

Can haproxy load-balance by referrer URL? (filtering a Slashdot scenario)

I have a poorly performing web app that will be massively scaled out to cope with the weight of the internet. Haproxy will be used to farm out the stateless web requests to many servers. However, ...
2
votes
2answers
1k views

Building an SSL server farm

I'm interested in building the the architecture in the article referenced below. I currently have a modestly-priced layer-4 load balancer and my application servers are the SSL endpoints. I want to ...
14
votes
3answers
13k views

GlusterFS vs Ceph, which is better for production use for the moment? [closed]

I am evaluating GlusterFS and Ceph, seems Gluster is FUSE based which means it may be not as fast as Ceph. But looks like Gluster got a very friendly control panel and is ease to use. Ceph was ...
5
votes
2answers
2k views

Policy based routing

I found very good article on load balancing at http://www.diegolima.org/wordpress/?p=36.. I could not implement it though as my requirement is slightly different from pure load balancing. We have two ...
4
votes
3answers
4k views

Blocking IP behind a load balancer

Is there any way to block IP address of an intruder (or any IP), when our server is behind a Load balancer. For example if my servers are behind ELB (Amazon ELB) or Rackspace Load balancer, i am ...
4
votes
3answers
1k views

Using Load Balancer in Rackspace cloud for website HA

I have tested tomcat specific clustering with apache mod_jk and mod_proxy on ubuntu local VMs for our website high availability and load balancing. The real servers are hosted by Rackspace cloud ...