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

How to maintain sticky session(session persistence) with docker swarm?

I have one Java based web application which is deployed in jboss-10.1.0(wildfly). I am using docker swarm mode(docker version 1.12.1) to scale my application everything works perfectly but the only issue I am facing is session management. Now let's…
10
votes
3 answers

kubernetes on google failed to create load balancer ip static

Although I reserved a static IP I got the following warning, while not having load balancer created : > kubectl describe svc --namespace=api-1dt-dc FirstSeen LastSeen Count From SubObjectPath Type Reason …
10
votes
5 answers

Spring cloud with ribbon not ignoring down servers

I was followig spring guide on client side load balancing with eureka: https://spring.io/guides/gs/client-side-load-balancing/ But I'm getting a connection refuse exception when after having 3 server instances I shut down any of them. Instead of the…
10
votes
3 answers

How to add server dynamically in HA proxy backend?

I am using HA proxy version 1.6.6 for load balancing rabbitmq server, and it works fine but i want to add server dynamically in ha proxy backend in ubuntu using script. can anyone please tell me how can i done it?
Bhoomi Zalavadiya
  • 689
  • 12
  • 26
10
votes
2 answers

Google Cloud HTTP Balancer and gzip

When i was using Google Cloud Network Load Balancer all my HTTP gzip connections where left intact, but when using HTTP/S Load Balancer end users don't get the gzipped content. I'm using nginx on the VM. Using this curl example: curl -H…
jordi
  • 3,391
  • 2
  • 14
  • 14
10
votes
3 answers

How to Master/Slave switch, load balancing in CakePHP

I need to implement master/slave/load balancing into an existing site. Does anyone use these (or other) implementations for master/slave switching? The resources I found on how to implement master/slave into Cake:. (preferable)…
10
votes
3 answers

Quartz & Spring - Clustered but NOT Persistent?

In my Spring application I'm using the SchedulerFactoryBean to integrate with Quartz. We're going to have clustered Tomcat instances, and thus I want to have a clustered Quartz environment, so that the same jobs don't run at the same time on…
Jason Fotinatos
  • 261
  • 4
  • 10
10
votes
1 answer

Load balancing server, how can I implement it?

I googled for load balancing but the only thing I can find is the working theory, which at the moment, is the "easy" part for me. But zero examples of how to implement one. I have several questions pertaining load balancing: I have a domain…
10
votes
2 answers

Is ssl termination at AWS load balancer ELB secure?

We have a web application running on ec2 instance. We have added AWS ELB to route all request to application to load balancer. SSL certificate has been applied to ELB. I am worried about whether HTTP communication between ELB and ec2 instance is…
prashant
  • 969
  • 3
  • 11
  • 22
10
votes
2 answers

Is Work Stealing always the most appropriate user-level thread scheduling algorithm?

I've been investigating different scheduling algorithms for a thread pool I am implementing. Due to the nature of the problem I am solving I can assume that the tasks being run in parallel are independent and do not spawn any new tasks. The tasks…
Il-Bhima
  • 10,744
  • 1
  • 47
  • 51
10
votes
2 answers

How to use powershell to install and configure IIS, SSL certificate, urlrewrite, git and clone repository

I'm currently setting up auto scaling IIS webservers and need to automatically install and configure the following through a powershell script: IIS URLRewrite Import SSL certificate Configure a new website Add new SSL bindings Download my source…
Liam Wheldon
  • 725
  • 1
  • 5
  • 19
10
votes
2 answers

How to use thousands of backends in haproxy? Is the new map feature useful for this?

I want to use haproxy as a proxy and load balancer for thousands of backends. So a request needs to be proxied to the correct backend depending on hostname and then load balanced within the backend. I am using haproxy-1.5dev21. The config file looks…
rcrc
  • 221
  • 2
  • 10
10
votes
1 answer

Is a load balancer node a bottleneck?

in a web application and service I'm creating it's necessary that it scales horizontally. I want to have 1 load balancer, 3 web server nodes, and 2 database nodes (one will be solely for redundancy and will scale vertically as soon as the first db…
User2013
  • 389
  • 1
  • 6
  • 19
10
votes
2 answers

How to use mod_security as standalone?

I've seen the module named standalone in the package of Mod_Security; but I'm not sure how to use it after making and installing it! Is there any good resources for the start up?
Ace
  • 420
  • 2
  • 8
  • 25
10
votes
1 answer

WebSockets and Load Balancing, a bottleneck?

When having a bunch of systems that act as WebSocket drones and a Load Balancer in front of those drones. When a WebSocket request comes into the LB it chooses a WebSocket drone, and the WebSocket is established. (I use AWS ELB tcp SSL-terminated at…
xrDDDD
  • 583
  • 9
  • 23