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

How to manage/balance semi persistent jobs over service instances

I see a common pattern for services that we try to develop and I wonder if there are tools / libraries out there that would help here. While the default jobs as discussed in microservice literature is from the REQUEST -> RESPONSE nature, our jobs…
17
votes
2 answers

Nginx, load-balancing using sticky and least connections algorithms simulteniously

We use Nginx as load-balancer for our websocket application. Every backend server keeps session information so every request from client must be forwarded on the same server. So we use ip_hash directive to achieve this: upstream app { ip_hash; …
Alex Emelin
  • 814
  • 1
  • 9
  • 19
17
votes
2 answers

Haproxy route and rewrite based on URI path

I am trying to setup an Haproxy to load balance requests on a few backends identified by the uri path. For example: https://www.example.com/v1/catalog/foo/bar Should lead to the "catalog-v1" backends. Thing is each app responds on a different path…
leovrf
  • 605
  • 1
  • 6
  • 17
17
votes
2 answers

Haproxy ssl configuration - install root and intermediate certificate

After to much googling, i finally made my haproxy ssl to works. But now i got problem because root and intermediate certificate is not installed so my ssl don`t have green bar. My haproxy config global maxconn 4096 nbproc 1 …
Novkovski Stevo Bato
  • 1,013
  • 1
  • 23
  • 56
16
votes
3 answers

Install Wildcard Certificate onto AWS EC2 Load Balancer

I'm having trouble. I followed a guide that I found here http://www.thenetworkadministrator.net/index.php/2011/12/iis-ssl-certificate-into-amazon-elastic-load-balancer/ And exported by cert and created all those files, but it doesn't tell you which…
16
votes
2 answers

Can AWS Fargate be used without a load balancer?

Initially I expect traffic to my web application to be minimal and I do not want to bear the cost of a load balancer. But if my application gains traction then I may configure a load balancer later. Is it possible to use AWS Fargate without a load…
16
votes
2 answers

docker-compose --scale X nginx.conf configuration

My nginx.conf file currently has the routes defined directly: worker_processes auto; events { worker_connections 1024; } http { upstream wordSearcherApi { least_conn; server api1:61370 max_fails=3 fail_timeout=30s; …
Victor Soares
  • 167
  • 1
  • 1
  • 8
16
votes
4 answers

How to setup Letsencrypt for Google Cloud Compute Engine load balancer?

I've setup my Google Cloud Project to use a load balancer in combination with auto scaling instance templates. Currently the instance group only has one instance. My domain name successfully refers to the load balancers IP. Till these steps…
16
votes
1 answer

.Net open source clustering products? ... like Terracotta

Does .Net have any open source clustering products like terracotta (http://www.terracotta.org/)?
CSharpDevLondon
  • 919
  • 2
  • 9
  • 9
16
votes
1 answer

Changing the name of a Load Balancer on AWS Console

After navigating to Menu > EC2 > Load Balancing > Load Balancers, I found that an important load balancer I inherited was named "testing", where it should be named something more meaningful for future dev ops (i.e. "search"). This load balancer is…
limasxgoesto0
  • 4,555
  • 8
  • 31
  • 38
16
votes
2 answers

How to create Floating IP and use it to configure HAProxy

I have recently tried to load balance my application using HAProxy and was able to do it successfully. Later, I have come across a concept called Floating IP, which can be used along with keepalived to make the load balancer highly available. I…
mahu
  • 163
  • 1
  • 1
  • 6
16
votes
10 answers

GWT load testing with jmeter

I have a GWT application and wanna to test load and functionality using a tool like jmeter. I am not sure jmeter is right tool for GWT. Can anybody direct me to proper tool or can tell me how to do it with jmeter? I want to test login functionality:…
jaxb
  • 2,077
  • 3
  • 20
  • 32
16
votes
2 answers

Apache proxy load balancing backend server failure detection

Here's my scenario (designed by my predecessor): Two Apache servers serving reverse proxy duty for a number of mixed backend web servers (Apache, IIS, Tomcat, etc.). There are some sites for which we have multiple backend web servers, and in those…
Jon Heese
  • 161
  • 1
  • 2
  • 11
15
votes
7 answers

How to redirect HTTP to HTTPS using GCP load balancer

I'm setting up my load balancer in GCP with 2 nodes (Apache httpd), with domain lblb.tonegroup.net. Currently my load balancer is working fine, the traffic is switching over between the 2 nodes, but how do i configure to redirect…
Kyc Kyc
  • 161
  • 1
  • 1
  • 8
15
votes
1 answer

Load balancer AWS configuration

I have some loadbalancer which works fine. It's configured like this. The app is just running on 80 and redirected by the webserver to 443 and has a route 53 above Now I tried totally the same but when I set my loadbalancer on the same values +…
DenCowboy
  • 13,884
  • 38
  • 114
  • 210