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
4 answers

HA Proxy won't load balance my web requests. What have I done wrong?

I've finally got HA Proxy set up and running in a way I think I want. However, it is not load balancing the web requests it receives. All requests are currently being forwarded to the first server in the cluster. I'm going to paste my configuration…
Josh Smeaton
  • 1,340
  • 2
  • 19
  • 31
1
vote
1 answer

DNS management: Route mydomain.com to www.mydomain.com using an Amazon loadbalancer

I mistakenly asked this question in stackoverlow however, it probably makes more sense here. My application is on amazon and i am using their EC2 loadbalancer. Amazon states on their site: DNS Name: XXXXXXXX.us-east-1.elb.amazonaws.com Note:…
Tihom
  • 155
  • 3
1
vote
1 answer

Can I run two virtual Windows Server 2008 machines in an NLB Cluster all on one Windows 7 box?

I am writing a prototype ASP.NET web application that demonstrates the use of distributed caching for scalability purposes. In order to do this, I would like to set up a couple of load balanced windows servers to play around with. Having only my…
1
vote
0 answers

Load-balancing between a Procurve switch and a server

I've been searching around the web for this problem i've been having. It's similar in a way to this question: How exactly & specifically does layer 3 LACP destination address hashing work? My setup is as follows: I have a central switch, a Procurve…
vlad
  • 111
  • 4
1
vote
2 answers

a load balancing scenario using HAProxy and keepalived shows no performance advantage

I am trying to setup a load balanced web server scenario, using two HAproxy load balancers and two debian web servers following this guide…
chakoshi
  • 49
  • 1
  • 2
  • 6
1
vote
3 answers

What other ways can I load balance EC2 servers without using Elastic Load Balancing?

I have a web application that consists of a web server managed by a web hosting firm, a set of EC2 instances in amazons cloud and a MySQL database (hosted on the webserver). MySQL is behind a firewall and is set to allow access from Localhost and…
1
vote
3 answers

Single web app, multiple web servers

I have a problem of load balancing. We developed a web app for nearly 1500 users. As the number of users increased we are unable to serve the requests in a timely manner. It takes around 10 to 20 seconds to load a page. Under heavy load it can take…
Ramakrishna
  • 111
  • 2
1
vote
2 answers

Scaling a LAMP website hosted on EC2

I'm very new to all this - I've recently managed to launch my website on EC2. As next step, I want to learn how to scale the website. I have a general idea but wanted some input from the experts about how to go about it. My website is based on LAMP…
1
vote
2 answers

How can one domain route to an always-changing pool of servers?

I'm sure this is an easy solution, I'm just not too familiar with how DNS works or if that's even related to this problem. If I'm running a web service on amazon ec2, distributed across many instances, how can I make it so a single domain name can…
ryeguy
  • 1,071
  • 2
  • 11
  • 11
1
vote
3 answers

Load balancing within 2 servers

I have a web application currently running on a single LAMP server, and I'm planning 2 split it into two servers, such that the client requests reach one of the servers from where it will be forwarded to the second server in case the load on the…
shyam
  • 187
  • 3
  • 13
1
vote
1 answer

ECMP Load Balancing in JUNOS

I'm trying to figure out how to use ECMP load balancing in JUNOS. I know this isn't the best way to load balance, but its quick and dirty and gets done what I need to. In ScreenOS this was pretty easy. Device: SRX220 JunOS: 10.3R2.11 Here's what…
SpacemanSpiff
  • 8,753
  • 1
  • 24
  • 35
1
vote
1 answer

Keeping a consistent configuration across load-balanced servers

First off -- I'm not a sysadmin so I'm not even sure what I'm doing is right. Basically I have two Amazon EC2 webservers that are essentially clones of each other. I've created an Elastic Load Balancer, and I've added both instances to it. I'm…
Calvin
  • 403
  • 1
  • 4
  • 15
1
vote
1 answer

Point of entry - always the weakest link?

I've been reading/researching load balancing for a project and some guides talk about having a load balancer and a backup load balancer which use heartbeat to check on each other. When one goes down the other takes over etc... However, if the amount…
Steffan
  • 131
  • 2
1
vote
2 answers

I need complete tutorial about MSSQL 2008 Database mirroring for load balancing

I need complete tutorial about MSSQL 2008 Database mirroring for load balancing i want to load balance my SQL workload all database insert update and delete queries will be mirrored all select queries will be load balanced sql servers will run at…
Furkan Gözükara
  • 556
  • 2
  • 10
  • 27
1
vote
2 answers

Can I do HA load balancing with ldirectord using only 2 servers?

I managed to set up a pacemaker-heartbeat cluster with a virtual IP address and a virtual instance of ldirectord, by gathering information from here, here and here. It seems that the proper way to use ldirectord is to have two load-balancing servers…
itsadok
  • 1,869
  • 5
  • 22
  • 33
1 2 3
99
100