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 (4)

4
votes
5answers
5k 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 ...
30
votes
16answers
28k 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 ...
8
votes
3answers
15k 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 ...
26
votes
3answers
14k 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! ...
9
votes
5answers
1k 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 ...
19
votes
8answers
2k 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 ...
5
votes
2answers
9k 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 ...
11
votes
8answers
3k 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 ...
5
votes
2answers
1k 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 ...
6
votes
8answers
52k 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 ...
18
votes
3answers
7k views

How can I deploy a scalable, reliable haproxy cluster on Amazon EC2?

We need some more advanced functionality than ELB provides (mostly L7 inspection), but it's not obvious how to handle things like heartbeat and high availability with something like haproxy using EC2. ...
25
votes
14answers
3k views

Load-balancer options

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 ...
13
votes
5answers
18k 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?
3
votes
2answers
2k 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 ...
3
votes
4answers
2k 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 ...
0
votes
3answers
2k 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 ...
0
votes
1answer
6k views

Custom Apache ErrorDocument with proxy balancer & RewriteEngine

I'm running into various problems trying to add custom ErrorDocuments to my server. I'm using proxy balancer to share the load between two instances of Zope and some simple rewrite rules to map my ...
2
votes
1answer
385 views

Is it possible to setup load balancing for 2 apps running on the same server?

I have two instances of a web app (using play framework) running on the same machine under two different ports. I am trying to work out if it is possible to set IIS to act as a reverse proxy and ...
1
vote
1answer
848 views

Amazon ELB and multi domain on Nginx server

I have an EC2 instance running Nginx with several domains. My config starts like this: server { listen 80; #disable_symlinks off; server_name _; #allow few domains #Adding 'www.' to ...
3
votes
2answers
559 views

Azure Load balancing internal instances of web/worker roles?

As far as I know Azure does not have a load balancer for internal services, internal endpoints are not load balanced. But can someone have implemented a "soft" solution, or can advice me some helpful ...
3
votes
3answers
3k 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
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?
2
votes
4answers
2k views

How do I mirror a MySQL database?

I'm running two load balanced servers for one website, and I'd like the databases to be synchronized. Queries may be run on either of the two servers because they are both production sites, so the ...
2
votes
8answers
679 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 ...
1
vote
2answers
3k 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 ...
1
vote
0answers
358 views

IIS7.5 Application Request Routing for multiple sites on one WebFarm

I am running some test scenarios with setting up a server farm using Windows 2008R2, IIS7.5, WebFarm Framework and Application Request Routing. I have three servers: WebFarm1 Controller ...
1
vote
1answer
2k 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 ...
1
vote
1answer
775 views

Can I use only 2 servers for nginx load balancing?

If I have only 2 servers, can I make each as a backend and also front end? Server 1: master load balancer / backend server1 Server 2: slave load balancer / backend server2 is it possible?
1
vote
5answers
1k 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 ...
1
vote
1answer
2k views

Windows 2008 Server Standard Edition, supports NLB?

Windows 2008 Server Standard Edition, supports NLB?
0
votes
0answers
48 views

Needing to upgrade server solution, not sure which direction to go [duplicate]

Possible Duplicate: Can you help me with my capacity planning? On "Black Friday" our web server took on more load than it could handle. We are currently looking into upgrading, but I am ...
0
votes
2answers
828 views

Postfix load balancing

I have 4 VPS servers, my plan is to use one of these VPS servers as a load balancer which sends mail received by it from another server to other 3 VPS (smtp) clients who will relay mail to the outside ...
-1
votes
1answer
33 views

ssl and loadbalancing : answer directly from backend?

Context debian 64bits. I try to learn https. I created a loadbalancer but I cannot answer tthe client directly from the backend since it receive the LB ip. Question I would like to know how I ...
-1
votes
1answer
260 views

Network load balancing: LACP between Debian & FreeNAS over Cisco Switch doesn't work

My setup: 2 Debian Server, with Bonding 2 Storage Server FreeNAS with Link Aggregation 1 Cisco Switch SG-200 with LAG enabled MTU 9000 enabled everywhere Result: Network performance is still single ...
16
votes
7answers
26k 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 ] ...
8
votes
3answers
14k 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; ...
9
votes
3answers
4k 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 ...
8
votes
3answers
22k views

What is the downside to sticky sessions with load balancers?

we have a web farm of IIS7 machines. Works great. In front of them is an F5 Big-IP hardware load balancer. Also working fine :) Now, currently we're using an ASP.NET State Service to handle our ...
6
votes
3answers
2k 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
6
votes
6answers
2k 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 ...
2
votes
2answers
2k 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 ...
10
votes
4answers
10k 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 ...
10
votes
4answers
2k 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: ...
8
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 ...
4
votes
3answers
156 views

What's a good resource for learning about scaling PHP applications?

I know PHP fairly well. But one aspect of PHP which I am fairly green in is caching, loading balancing etc. A lot of companies hiring PHP developers are looking for these high-use background, which ...
1
vote
3answers
5k 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 ...
11
votes
3answers
8k 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 ...
11
votes
4answers
10k 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 ...
7
votes
2answers
634 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 ...
5
votes
4answers
4k 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?