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
1 answer

How does one test the SSL cert on a specific server while testing through a load balancer?

I use Linode's NodeBalancer and would like to make sure each of the servers are terminating the SSL correctly. Right now I'm waiting on DNS propagation to test placing an A record of the format of server1.secure.domain.com where the SSL is valid…
1
vote
3 answers

Is there a way to simulate serves in my machine for load balancing?

I would like to learn about load balancing with servers. Is there a way that I could simulate many servers in my machine and configure Apache for the load balancing? This is: see how it works live. I just have one machine and no possibility to go to…
user124736
1
vote
1 answer

Load balancing ISPs on Ubuntu Server

I have a Dell server with Ubuntu 11.10 Server installed on it. The server has 3 Ethernet cards eth0, eth1 and eth2. I have two ISPs say ISP1, ISP2 eth0 has a public IP (provided by ISP1 - we require to access this service from outside our LAN) eth1…
chochim
  • 145
  • 2
  • 6
1
vote
1 answer

How to inspect load balancer L7 Injected Headers

There is a hardware LB redirecting http to an Nginx SSL Offloader listening only at 443. I have no access to the LB, but I need to verify if it is injecting the X-Forwarded-For header. Why? I'm trying to log the client IP with http { log_format …
Eric Fortis
  • 378
  • 2
  • 6
1
vote
2 answers

Unexpected behaviour when dynamically add node in HAproxy server

I wanted to use HAProxy for my web app for load balancing purpose. I am trying to add a new rabbitmq node dynamically in HAProxy server using command : haproxy -p /var/run/haproxy.pid -sf $(cat /var/run/haproxy.pid). I am doing tcp connection mode…
Anand Soni
  • 216
  • 2
  • 10
1
vote
1 answer

Load Balancing, Active-Active config and dynamic server addition

Right. I'm looking into setting up a system something like this: / [Load Balancer] \ /\/\/\/\/\/\/\ [LAN1] - ----- | Server Pool | \ [Load Balancer] / \/\/\/\/\/\/\/ | …
jackweirdy
  • 293
  • 2
  • 10
1
vote
2 answers

Configure HAProxy for rabbitmq

I want to use HAProxy as a load balancer. I want to put two rabbitmq server behind haproxy. Both the rabbitmq server are on different instance of EC2. I have configure HAProxy server by following this reference. I works but the problem is messages…
Anand Soni
  • 216
  • 2
  • 10
1
vote
2 answers

Load balancers and going with dedicated over ec2

One mental block I have is load balancers, and I like how AWS/ec2 handles this for you. BUT, I like dedicated servers for the performance and cost benefits etc. I'd love if someone who is well versed with load balancers could give me an idea of what…
user1361315
  • 211
  • 2
  • 6
1
vote
1 answer

Load balancing setup

Server 1(Proxy) -> Server2/Server3(Apache) -> Server4(mySQL) For server 1 I would setup HARproxy with something like? global log 127.0.0.1 local0 log 127.0.0.1 local1 notice #log loghost local0 info maxconn…
Tiffany Walker
  • 6,681
  • 14
  • 56
  • 82
1
vote
1 answer

haproxy and persistant connections

I am using HAproxy to load balance between more web server. Those webservers are using PHP and sessions to keep one's session open. Now, I think that when a user refreshes the page, it is sent to one of those servers but, if he's sent to a different…
Enrico Tuttobene
  • 227
  • 2
  • 5
  • 11
1
vote
2 answers

Pfsense: Inbound Load Balancing https with sticky connection

first of all I'm very sorry for my English... This is my scenario: Internet Firewall+LB: pfsense_1(Active) + pfsense_2(Passive) in CARP Pool servers: 3 x nginx(PHP5+HTTP+HTTPS) Pfsense 1 and 2 CARP configured with Virtual IP (pubblic). Nginx…
Zeux
  • 11
  • 1
  • 2
1
vote
0 answers

ServerIron: How do I configure a real server to be in 3 VIPs at the same time?

I'm forced to work on an old piece of hardware: Foundry ServerIron 450 I have a host that needs to be in 3 VIPs at the same time: 10.1.1.21:3333 aka (host-a:3333) The problem I'm having is that when I add the host to the last of three VIPs, it shows…
randomx
  • 1,004
  • 1
  • 8
  • 14
1
vote
3 answers

Redirecting specific traffic to amazon AWS

My server has recieved sudden increase in the (read) web traffic, requesting many map image tiles, and apache cannot handle it. Apache cannot even handle the redirections! The average load I get in my CentOS machine is more then 200.. Is there some…
yoav r
  • 11
  • 1
1
vote
1 answer

Way to speed up load-balanced ssl using nginx?

So the setup for our website is 4 nodes running rails 3 and nginx 1 that all use the same GoDaddy certificate. Because we are a paid site, we have to maintain PCI-DSS compliance and thus have to use the more expensive SSL ciphers -- also we force…
1
vote
0 answers

Can Cisco ACE load balance ISPs?

There is an interesting usage of the Cisco ACE to balance output internet traffic through different ISPs, as explained here. Basically, it would be set on ACE the ISPs border routers as the rservers, a server farm in transparent mode (no NAT in the…
Adriano P
  • 243
  • 3
  • 8