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
10
votes
3 answers

MX priority server behaviour

This is a question about MX procotol priority. If I have two server as MX with different priority: MX 10 serverA MX 20 serverB Is this guarantee by the protocol that the MX 10 is the prefered? Can the submitter choose the secondary for any other…
Tobia
  • 1,272
  • 9
  • 41
  • 81
10
votes
3 answers

Load Balancing DNS Servers: UDP / TCP

I have been asked to rebuild our load balancing infrastructure in the data center. The original request was to load balance FTP servers. I tried doing that using the current load balancer (Piranha / LVS), but didn't get it up and running. Not just…
Mosh Pit
  • 339
  • 2
  • 4
  • 13
10
votes
2 answers

How can I tell which server I've been load balanced to?

I want to test some configuration changes to one-way synchronisation between two servers that sit behind a load balancer (this is all Rackspace Cloud infrastructure FYI). The problem I have is that I can't tell which server I've been load balanced…
Willl
  • 203
  • 1
  • 2
  • 7
10
votes
2 answers

Apache mod_remoteip and access logs

Since Apache 2.4 I've started using mod_remoteip instead of mod_extract_forwarded for rewriting client address from x-forwarded-for provided by frontend servers (varnish, squid, apache etc). So far everything works fine with the modules, i.e. php,…
GioMac
  • 4,544
  • 4
  • 27
  • 41
10
votes
2 answers

Using CloudFlare as the only load balancer

Say I have 3 VPS nodes with Linode to serve traffic on a single website. Linode themselves provide a node balancing solution. But I use CloudFlare and was wondering after I read their blog article on their architecture if it was necessary to use…
Masum
  • 228
  • 1
  • 2
  • 6
10
votes
1 answer

iproute multiple ADSL load balancer through VM

For a long time (2 years?) I have been running a virtual machine (Ubuntu 12.04 server) with a very basic outbound load balancing capability, sending different outbound connections out different ADSL routers. Configured simply by using iproute with…
Drew Anderson
  • 408
  • 1
  • 5
  • 13
10
votes
2 answers

Hostnames in HAProxy configuration file

My haproxy.cfg file has two backend servers using hostnames: server ops-ca-revealv2e-prod-1 ops-ca-revealv2e-prod-1:443 cookie ops-ca-revealv2e-prod-1 ssl weight 1 maxconn 512 check server ops-ca-revealv2e-prod-2 ops-ca-revealv2e-prod-2:443 cookie…
Naijaba
  • 203
  • 1
  • 2
  • 6
10
votes
1 answer

Message Queuing vs. Load Balancing. I don't truly understand the difference

Help me to understand something. I've looked at several enterprise application architectures, and I've noticed that several of them use a Message Queue service, like ActiveMQ or RabbitMQ. I have surface-level knowledge of what message queuing…
Jason Clark
  • 135
  • 1
  • 1
  • 5
10
votes
5 answers

Spanning Tree Setup

I understand the basics of spanning tree, but that's about it. I'm hoping that someone can tell me if this will work as I want it to. I've got two Cisco ACE load balancers setup for redundancy. Each ACE is connected to its own layer 2 switch. …
mrdenny
  • 27,174
  • 4
  • 41
  • 69
10
votes
5 answers

Weighted round robins via TTL - possible?

I currently use DNS round robin for load balancing, which works great. The records look like this (I have a TTL of 120 seconds) ;; ANSWER SECTION: orion.2x.to. 116 IN A 80.237.201.41 orion.2x.to. 116 IN A …
10
votes
2 answers

HAProxy roundrobin weights

I'm attempting to modify my current haproxy configuration to favor 1 server over the others (70%,15,15) Does anyone know if this is possible? Reading the docs I see a "weight" option, but I'm a bit weary of messing around with production…
uid_b
9
votes
6 answers

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 uses file-based sessions. The nature of the site…
wherestheph
  • 233
  • 3
  • 5
9
votes
2 answers

How to configure AWS load balancer to forward to external IP address

I currently have multiple instances of the same web application running on different instances by different vendors (AWS, Digital Ocean, Vultr). Each application instance run on their own port numbers. I wish to configure AWS Applilcation/Network…
Ah Lim
  • 91
  • 1
  • 1
  • 3
9
votes
1 answer

Can't SSH into AWS CloudFormation Stack Instance

I have a scalable load balancer set up right now that was mostly followed from this template: https://github.com/satterly/AWSCloudFormation-samples/blob/master/LAMP_Multi_AZ.template After adjusting the…
9
votes
1 answer

NGINX vs. GCE Kubernetes ingress classes

When setting up a Kubernetes ingress on Google Container Engine, you can choose the ingress class (gce or nginx). I realize that the GCE class provisions a load balancer on Google's Cloud Platform, which costs about $20/mo each. After some research,…