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

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 several days causing severe problems. I have been…
Cracker
6
votes
2 answers

Explanation of NonProxied vs Proxied Traffic

What is the difference between a nonproxied and proxied load balancer? I am reading the documentation for the Google Cloud Platform which offers a variety of different LBs. For example, it has SSL Proxy Load Balancers and Network Load Balancers. But…
user525519
6
votes
1 answer

Upgrading Elastic Beanstalk load balancer from Classic to Application load balancer?

I know how to follow the migration guide to upgrade a classic load balancer to an application load balancer. However, when I try to clone my Beanstalk environment and perform that migration on that environment, then it still shows as a "Classic"…
6
votes
2 answers

How can you redirect HTTP to HTTPS (GCP Load Balancing)?

I'm playing with GCP Load Balancing and want to redirect HTTP to HTTPS links. But cannot figure out. My Load Balancing looks like: Load balancer name Front End: Protocols IP Certificate HTTP x.x.x.x:80 - HTTPS …
Ng Nam
  • 61
  • 1
  • 1
  • 2
6
votes
2 answers

How to create a high-availability application server?

I am working with some hardware units which uses mobile Internet to communicate to my application server. Initially, the hardware had a hard-coded IP address (load balancer) in the hardware for communication which was used to route the traffic to my…
6
votes
2 answers

HaProxy giving - 503 Service Unavailable

I am using below configuring for performing loadbalancing for two Tomcat servers. And I configured HAProxy to perform SSL/TLS bridging/re-encryption. #--------------------------------------------------------------------- # Example configuration for…
Narendra
  • 121
  • 1
  • 3
6
votes
2 answers

I can't upload server certificate on AWS IAM

I got AWS iam working on my server, and trying to upload some certificates: aws iam upload-server-certificate --server-certificate-name domain2014 --certificate-body file:///var/www/html/certificate.pem --private-key…
6
votes
1 answer

Load balancing in Nginx with redirect rather than proxy

I want to use Nginx in a bit of an unconventional way. I want to load balance between a few servers, but rather than proxy content for those servers I want to redirect to them. That is, if a request comes into my Nginx server, it should 302…
Brad
  • 1,419
  • 22
  • 43
6
votes
4 answers

Force DHCP Reservation Updates to Secondary DHCP Server in Windows Server 2012 R2

I have setup and configured two DHCP servers on my private network in load balancing mode as outlined in the following technet article: http://technet.microsoft.com/en-us/library/dn338979.aspx Both VM's are running Windows Server 2012 R2. Since the…
KabanaSoft
  • 181
  • 1
  • 1
  • 3
6
votes
1 answer

How can I use SSL behind a load balancer and still get the client IP?

Note, I can't use SSL termination at the load balancer, due to network security related issues. The client IP I get is of course that of the load balancer. I know that the load balancer can't modify the HTTPS message without having my key, but is…
orokusaki
  • 2,763
  • 4
  • 32
  • 43
6
votes
4 answers

mod_jk produces Error smh errno=13

I am trying to use mod_jk for load balancing. Loadbalancer: 172.17.8.189 (HTTPD+mod_jk) Node1: 172.17.8.193 (apache tomcat instance 1) Node2: 172.17.8.196 (apache tomcat instance 2) I checked my tomcat instances and both of them are listening at…
nth
  • 89
  • 2
  • 3
  • 9
6
votes
1 answer

Is there a backend-aware load balancer for Rails/Passenger?

We have 3 Ruby on Rails applications (A, B and C) installed on a number of application servers. Our front end is HAProxy, backend is Apache + Phusion Passenger. Originally we had all 3 Rails apps installed on each application server, but this setup…
6
votes
1 answer

Nginx doesn't rebound from 502 Bad Gateway

We have a situation where a site starts to serve a 502 Bad Gateway but doesn't seem to recover after the upstream servers rebound. The nginx server is setup to proxy/load balance requests for two upstream servers. It looks like the database server…
Rob
  • 276
  • 3
  • 10
6
votes
7 answers

rsync take too long to run

I have a load balancer setup involve 2 server. these 2 server mirror each other. the main usage of the blanacer is serving static files. Let's call them Server A and Server B. Server A will retrieve file from remote host on different network. those…
myhusky
6
votes
2 answers

Load balancer explanation

I'm trying to figure out how exactly the load balancing of sites like facebook/youtube works, but I have few questions. So after alot reading I figured out that loadbalancing looks like this: When loadbalancer should be a server, who split the…