Questions tagged [load-balancing]

The term load balancing is used to describe technology that is used to evenly distribute work across multiple nodes within a network.

Load balancing is a computer networking method for distributing workloads across multiple computers or a computer cluster, network links, central processing units, disk drives, or other resources. Successful load balancing optimizes resource use, maximizes throughput, minimizes response time, and avoids overload. Using multiple components with load balancing instead of a single component may increase reliability through redundancy. Load balancing is usually provided by dedicated software or hardware, such as a multilayer switch or a Domain Name System server Process.

5217 questions
15
votes
3 answers

Creating a web farm in PowerShell

I'm trying to automate the creation of a server farm in PowerShell. Through manual creation I've got the following XML:
Jeroen Vannevel
  • 43,651
  • 22
  • 107
  • 170
15
votes
3 answers

Keycloak Docker behind loadbalancer with https fails

I am trying to use clustered keycloak docker behind the A10 load balancer. I am trying access all the request by https from the client application. My issue is that the same setup is working when we try to access keycloak has HTTP but at the same…
Shobanil more
  • 231
  • 2
  • 3
  • 10
15
votes
2 answers

Changing Kubernetes' node-proxy tcp keepalive time

How do I properly change the TCP keepalive time for node-proxy? I am running Kubernetes in Google Container Engine and have set up an ingress backed by HTTP(S) Google Load Balancer. When I continuously make POST requests to the ingress, I get a 502…
15
votes
4 answers

How is 'Inbound NAT rules' different from 'Load Balancing Rules' different from each other in Azure Load Balancer v2

Can someone explain to me what actually happens in the back-end to the load balancer (v2) for the two scenarios: Applying Inbound NAT rules. Applying Load Balancing Rules.
Ajov Crowe
  • 459
  • 3
  • 8
  • 17
15
votes
3 answers

Adding header to response for specific URLs with HAproxy

I have a simple condition in my HAproxy config (I tried this for frontend and backend): acl no_index_url path_end .pdf .doc .xls .docx .xlsx rspadd X-Robots-Tag:\ noindex if no_index_url It should add the no-robots header to content that should not…
Xeos
  • 5,975
  • 11
  • 50
  • 79
15
votes
3 answers

EC2/Route53: How Do I Point Apex Record at Load Balancer?

In Amazon, I am attempting to create a cname for a domain, example.com to a load balancer in Route 53 Examplecom-1058462749.us-west-2.elb.amazonaws.com But when I try to save the record, I get this error: RRSet of type CNAME with DNS name…
14
votes
3 answers

Apache + Tomcat - Problems with sticky sessions and load balancing

I'm facing some issues with Apache mod_proxy_balancer regarding sticky sessions. We've developped a restful webservice in Java, running on Tomcat. The actual backend is using Acegi security, with Auth Basic authentication. The architecture is…
benjamin.d
  • 2,801
  • 3
  • 23
  • 35
14
votes
1 answer

Possible to enable Keep-alive with a load balancer?

I'm trying to optimize my web application using Google's Page Speed API which has highlighted the absence of "Keep-alive" in my HTTP response headers as a major page speed weakness. In talking with my back-end devs and sys admins, they've told me…
Benjamin Knight
  • 252
  • 2
  • 4
  • 10
14
votes
4 answers

Cron Tasks on load balanced web servers

I'm looking for better solution to handling our cron tasks in a load balanced environment. Currently have: PHP application running on 3 CentOS servers behind a load balancer. Tasks that need to be run periodically but only on a single machine at a…
poisson
  • 1,324
  • 11
  • 20
14
votes
3 answers

Using a S3 Static Site with an Application Load Balancer

I have an ALB that currently routes traffic to multiple urls. I'd like to be able to route traffic to a Static S3 site in the event that we need to perform maintenance. We would then display a static "Maintenance" page instead of our login page. I…
14
votes
2 answers

Access Minikube Loadbalancer Service From Host Machine

I am trying to learn how to use Kibernetes with Minikube and have the following deployment and service: --- kind: Service apiVersion: v1 metadata: name: exampleservice spec: selector: app: myapp ports: - protocol: "TCP" # Port…
Jack Zavarella
  • 335
  • 1
  • 4
  • 13
14
votes
2 answers

Why is my GCP Load Balancer Certificate stuck at provisioning?

I've set up everything according to the documentation: For the certificate provisioning process to proceed, all of the following conditions must be met: The DNS records for your domain must reference the IP address of your load balancer's…
14
votes
10 answers

Traefik Bad Gateway

I've got some strange issue. I have following setup: one docker-host running traefik as LB serving multiple sites. sites are most php/apache. HTTPS is managed by traefik. Each site is started using a docker-compose YAML containing the…
x4k3p
  • 1,598
  • 2
  • 22
  • 42
14
votes
1 answer

Scaling with sticky sessions and websockets

Initially we have two AWS EC2 instances with node.js running behind a load balancer with sticky sessions. As the load increases more instances are added. But we are facing problems with this approach. As out application is mainly for workshops, the…
14
votes
2 answers

Sticky session load balancer with nginx open source

What the main difference between the sticky session available in nginx plus and hashing cookie in open source version? According to the docs nginx open source allows session persistence based on hashing different global variables available within…
Vasyl Nekohda
  • 171
  • 1
  • 1
  • 7