Questions tagged [load-balancing]

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.

Load balancing is a group of techniques used to ensure that loads are spread between multiple systems. The term is used on networking and server environments, with similar results.

Network load balancing involves using multiple connections or links to spread speed or high demand between those connections. That can be done on backbone links, carrier internet links or even from servers to switches to provide more speed using link sharing.

Server load balancing utilizes hardware (hardware load balancers) or software (software load balancers) to spread the requests destined for a domain or system between various servers behind those load balancers (often named backends). Load balancing ensures that high performance and scalability can be achieved by addition of servers.

2747 questions
1
vote
2 answers

Sharing svn reposities between web servers

I have my subversion hosting set up to be accessed through Apache web server. Everything runs fine. Now I'd like to add another web server to distribute the load between two web servers. Is it save to have my svn repositories accessed by two web…
Luke
  • 3,826
  • 8
  • 36
  • 40
1
vote
5 answers

Loadbalancing between two isp uplinks

I have a networking question I could not find an answer for with google. We have currently at work two ISP boxes(routers), i want to setup a firewall to protect an intranet on a local host. The problem is that not every one is using the same…
sp4ke
  • 133
  • 5
1
vote
1 answer

How do I make Amazon EC2's load balancer round-robin?

When a user comes to my site, I want him to hit one server during his browsing period. I don't want him to jump from server to server as he pages through my site. I want his "session" to be kept to that server only. How can I do that with load…
Alex
  • 8,471
  • 26
  • 75
  • 99
1
vote
1 answer

How can I version controll my F5 Big-IP LTM load balancer configs while allowing changes via iControl or the web interface

Currently we use F5 Big-IP LTMs (IP load balancers) in our environment for load balancing. We have an existing process for making changes to LTM configs and pushing them out. I'm trying to figure out the best way to accommodate a new need of our…
gene_wood
  • 533
  • 6
  • 15
1
vote
2 answers

MaxKeepAliveRequests for IIS7 (with NLB)

We have an IIS7 running on several nodes in an NLB cluster. The NLB nodes are set to Affinity:None so that new connections are spread across them. We want KeepAlive switched on so that we can get better performance but we are finding that when one…
David Newcomb
  • 275
  • 1
  • 5
  • 14
1
vote
4 answers

Load-balance two MySQL dbs from one PHP page?

This is a really dumb question, but here goes. I've got one web server, running a simple PHP app. I've got two MySQL servers, with one replicated database, which powers the PHP app. I'm using two MySQL databases to deal with demand. How can I (and…
simon
  • 13
  • 3
1
vote
1 answer

Setting max failures for upstream servers in NGINX

I have an application built using Tornado, running on two 16 core servers with a frontend server with Nginx on. The deployment guidelines for Tornado suggest one instance of the app per CPU cure so I have, in total, 32 instances of the application…
user80776
1
vote
1 answer

Replicate IIS Settings for Load Balanced Websites

I have a website running on two Windows Server 2008 boxes using built in Network Load Balancing. I replicate the website files via DFS replication. What is the easiest way to replicate the IIS settings across both servers so that I only have to…
Eddie Groves
  • 1,363
  • 1
  • 9
  • 7
1
vote
1 answer

How can I iterate through each ec2 instance attached to a specific load balancer in bash?

I have this bash line that gives me the IPs of the EC2 instances attached. export LB_NAME='lb' ec2-describe-instances `elb-describe-instance-health $LB_NAME --show-long | cut -d , -f 2` | grep 'INSTANCE' | cut -f 4 This echoes something like…
Hernan
  • 13
  • 2
1
vote
2 answers

Web Server Synchronization

I'm having 2 identical webservers(running IIS) which i intend to load balance with Hardware Based Application Load Balancer. I need a Synchronization software to do real-time sync of the data between the 2 servers. Any suggestions for a good sync…
1
vote
1 answer

Squid and load balancing?

Currently i am running a squid server to load balance between 2 server using round robin. But after running for few days, i found out that the server 1 is getting slower. Is there anyway I can use CPU Performance to determine which server should get…
DucDigital
  • 1,491
  • 3
  • 18
  • 26
1
vote
1 answer

Does Ubuntu-stock ldirectord not handle hung connections to real servers or am I configuring it wrong?

I'm using it to balance and remove failed instances from a http/https cluster, but have noticed that when connections to a real server hang, ldirectord never marks them quiescent, though it will instantly if the connection is rejected or cannot be…
Yuri Gadow
  • 111
  • 4
1
vote
3 answers

OpenSource (Layer 4) Load Balancer that can pass through original client IP?

I am setting up a web application which uses SSL for all requests. It needs to have room for scaling and also be highly available. It seems that the "recommended" way to handle this is to setup a pair of Layer 4 load balancers for HA, which pass…
phylae
  • 327
  • 4
  • 10
1
vote
4 answers

How many users can Apache Handle?

I have a static site and an 8GB RAM Server. The site would have just some javascript and static content. I need to handle about 20,000 concurrent visitors. Will my 8GB Server able to handle this ? Can anybody explain how to configure Apache…
Sam Alex
  • 204
  • 2
  • 3
  • 7
1
vote
0 answers

Load balancer unable to contact a server through http

In our infrastructure we have a load balancer(apache mod_balancer) and three backend servers that run apache as a web service and iptables as firewall, Lately ONE of them is giving a lot of " (110)Connection timed out: proxy: HTTP: attempt to…
Dina Abu-khader
  • 141
  • 2
  • 2
  • 7