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.
2,780
questions
-1
votes
1
answer
2k
views
Two network adapters for a machine to double the transfer speed [closed]
i am new to this. In my scenario, i have a desktop pc running windows 7 and planning to set up a local web server using xampp for big file transfer in the lab. The problem is that,there are 80 ...
0
votes
2
answers
4k
views
Elastic Load Balancer awseb-e-g has zero healthy instances
I have an Elastic Beanstalk (EB) set up with a running application on a PHP/Apache server. The application was running OK since many hours ago when the EB's health got subtly RED and I don't know why. ...
0
votes
1
answer
723
views
Nginx multi website multi public ip
I have deployed platform with archetecture where I have nginx lb server hash, behind is app server that has 4 apps. nginx lb server has configurations such as:
upstream example1.com {
ip_hash;
...
2
votes
0
answers
982
views
can AWS load balancer auto restart out of service images?
I have set up a load balancer with two instances in two availability zone
I set up an health check to ping a specific page of my webapp
now I'm trying to find if the load balancer health check could ...
0
votes
2
answers
327
views
ipvsadm: Access loadbalanced ip's from internal network
I have the following scenario:
ipvs-Loadbalancer - direct routing: 123.123.123.117
Realserver 1: eth0: 123.123.123.123 eth1: 10.10.0.1
Realserver 2: eth0: 123.123.123.124 eth1: 10.10.0.2
Random ...
3
votes
1
answer
2k
views
ELB health checks for freshly launched EC2 instances not working
I'm trying to manually set up a load balanced environment using EC2. My instances are reachable via SSH and ping. However, as soon as I put them inside a load balancer, the instances are not able to ...
20
votes
2
answers
21k
views
Is it possible to use multiple load balancers to redirect traffic to my application servers?
I'm new to load balancing and I'm wondering if it's possible to use multiple load balancers to redirect traffic to my application servers.
I don't really understand how this can be done. Shouldn't a ...
1
vote
0
answers
1k
views
How to fix the amount of bandwidth of iperf in tcp mode?
I'm working on some experiments about my master's degree project. I'm studying some load-balancers (I'm not supposed to cite them here) and the aim is to get for each bandwidth the cpu % usage of a ...
1
vote
2
answers
325
views
How to replicate application in load balanced infrastructure
AWS use AMI (Amazon Machine Image) to copy the application server whenever new node (server) is deployed.
How that work ? What sort of image is that ?
What are other ways to do replication of ...
1
vote
0
answers
620
views
PFSense NATing to a load balanced server
I apologize for not being able to post the network diagram here but as this is my first time asking a question here I am not allowed.
So here is the scenario:
We have a site that is build with a ...
0
votes
1
answer
713
views
ARR Load Balance with two Machines - Always redirect to same Site
described steps for each setup.
Created a sample Application WebShareTest , hosted the application in M1(IP 36) on port (80) and same Binary I hosted in M2(IP 210) (on port 8070)
I pointed some ...
0
votes
1
answer
212
views
Keep connections of closed instances behind a load balancer
I'm looking for a system to create a live sockets application through sockets.io and that can be balanced without problem.
There are tons of solutions to balance the load between multiple socket ...
-1
votes
1
answer
512
views
ESXI 5.1 not balancing CPU load across all cores/threads
I have 2x servers with 2x E5645 (6c/12t).
I am running own software which is processing millions of entries from database (database holds compressed big chunk of data in each row, software is ...
3
votes
1
answer
7k
views
Google Cloud HTTP balancer returns 502 error
I have 2 Instance groups and HTTP load balancers for each one. Instance groups contain VMs that work on Windows Server 2012 with IIS inside.
When I send POST request from VM from one instance group ...
0
votes
1
answer
4k
views
RTMP load-balancing via HAProxy
I've got a little problem to solve:
I need to find a way to load balance, bandwidth-wise, the incoming RTMP streams on my servers.
I have 2 RTMP servers (nginx-rtmp), let's call them S1 and S2.
The ...
5
votes
1
answer
3k
views
How does nginx distribute traffic among IPs associated with an upstream DNS name?
With this configuration:
upstream some_upstream {
server some-elb.us-east-1.elb.amazonaws.com:80;
}
If some-elb.us-east-1.elb.amazonaws.com maps to 2 IP addresses, how will nginx distribute ...
0
votes
1
answer
371
views
How to do load balancing with nginx
I need to use server as load balancer and web server at the same time.
Here is my nginx config for website:
upstream load_balancer {
least_conn;
server localhost;
#server srv2....
1
vote
1
answer
6k
views
HAProxy parsing errors
i have 3 servers
--> haproxy - server1(uk)
- server2(ru)
i followed this tutorial and created ip for ru.subnets
now in my /etc/haproxy i have these files:
haproxy.conf
ru.subnets
...
2
votes
1
answer
2k
views
HAproxy mysql failover
I try to set up a HA cluster with Percona xtraDB Cluster for MySQL replication and HAproxy for load balancing.
HAproxy works really good with apache, when apache crash or if it's not responding, ...
0
votes
2
answers
254
views
Azure, internet facing load balancer without using cloud services
Is it possible to have load balancing between virtual machines without placing the machines in the same cloud service?
We want to use Ansible to configure our machines and setup RabbitMQ but I can't ...
1
vote
2
answers
7k
views
How do you Mask URLs in HAProxy?
Is there any way to do URL masking in HAProxy? I'd like to have a URL directing to my load balancer, i.e. www.example.com, redirect to another URL I have for another application. However, I'd like the ...
1
vote
1
answer
81
views
Correct way to load balance a node app in opsworks
I have an Opsworks stack with 2 different node apps running in the same layer. One of these apps needs to be load balanced as it will be accessed by the general public, but the other is only accessed ...
0
votes
1
answer
2k
views
Nginx upstream fails over from serverA to serverB, and then back to serverA, why?
Background
I have the following Nginx configuration which is load balancing 2 Tomcat servers running on 2 different servers:
### http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash
...
1
vote
1
answer
1k
views
Internal Failover Load Balancing in Azure
I have a MongoDB Cluster deployed in Azure. Normally a MongoDB cluster has at least a couple of mongo router instances (mongos) which is where an application should connect (the application is also ...
1
vote
0
answers
2k
views
Mapping uWSGI processes to specific cpu cores
I have 2 sites on my server (debian) with 4 cpu cores.
For both of them I use workers=2 and cpu-affinity=1 so workers are
mapped to cpu 0 and 1 for both sites like that:
spawned uWSGI master process (...
1
vote
1
answer
547
views
What is Refs column on varnishadm backend.list command?
Below is a command output example:
varnish> backend.list
200
Backend name Refs Admin Probe
webserver01(172.31.30.167,,80) 7 probe Healthy 6/6
webserver02(172.31....
0
votes
1
answer
53
views
Wordpress on stage environment with SVN
Currently we have this configuration for our website:
Stage environment. On this environment we use a connection to live DB and for code we use SVN.
Production/Live environment. Load Balancing ...
1
vote
2
answers
5k
views
nginx load-balance set weight and ip_hash at the same time
By default the Nginx upstream directive uses Round-Robin to distribute requests to backend realsevers and set the weight of the server by weight. But I do not see any words about whether weight works ...
2
votes
0
answers
1k
views
Error 499: Varnish is working how load balance Nginx Webservers
I created a solution to host a magento store with high traffic (> 500 user simultaneously) on AWS. Too often HTTP 499 error appears in the access.log the Varnish. When this happens users who have such ...
3
votes
1
answer
688
views
Application Fail over not working in apache 2.2 web server configured with BIG IP (f5) load balancer
I am using Apache 2.2 in front of my JBOSS 5.2 application server in a cluster configuration . The two nodes of the cluster configuration resides on different host . This configuration is hosted on ...
2
votes
1
answer
220
views
Load Balancing between 2 ISPs
I'm having 2 ISPs, need to balance traffic between the internal users ...
Firewall is SRX210
The question is:
Each ISP has there own DNS, how to make the dns resolving based on the used ISP?
...
3
votes
1
answer
2k
views
Is having the same PTR hostname valid for multiple ip addresses? [duplicate]
Currently I have the following setup with two hostnames and two ips:
cheeze1.mydomain.com IN A 123.123.123.111
111.123.123.123.in-addr.arpa IN PTR cheeze1.mydomain.com
cheeze2.mydomain.com ...
1
vote
1
answer
5k
views
Single Nginx Load Balancer for 2 different clusters (web, api)
I was wondering if it was possible to use a single Nginx server to load balance my web servers and api servers if both are using port 80. In this setup there would be 5 servers, 1 Nginx and 4 Apache ...
1
vote
1
answer
768
views
Moving a web application to use HAProxy, Varnish, and nginx
I currently have 4 web application servers (running on application) on Rackspace that sit behind a Load Balancer (on Rackspace). In front of the Load Balancer. The application itself makes moderate ...
5
votes
4
answers
11k
views
POST of large file is timing out, when running through ARR
When POST'ing a large file through ARR, the request times out after 120 seconds. The client recieves error code 502 Bad Gateway. I have configured the "proxy timeout" of the web farm to be 600 seconds....
1
vote
0
answers
138
views
mod_proxy_balancer does not remove dead servers
We use the current configuration (slightly obfuscated) to balance 2 web servers against 4 application (Tomcat) servers, using JSESSIONID; each web server has this exact same configuration for ...
0
votes
0
answers
272
views
Load balance and contingency server
everyone. I'm having trouble setting up a load balancing/contingency server.
My scenario: I have 2 servers (Windows 2012 R2 machines) to run an application in ASP.Net/C#.
My problem: Would I like to ...
2
votes
1
answer
2k
views
Does Nginx keep the connection open, when it does load balancing?
I have a single Nginx server doing load balancing to several upstream servers.
What happens when a request comes in?
Does the load balancer keep the connection open and wait for an answer from the ...
0
votes
0
answers
530
views
Elastic Load Balancing report Out of Service
I am using the loadbalancing and autoscaling feature on aws.
The load balancer marks the instance "out of service". However, the instance (i-xxxx) is running fine and status checks that report "...
-1
votes
1
answer
98
views
What product is AWS Elastic Laod Balancer behind the scenes [closed]
Does someone know what kind of product is working behind the scenes as AWS Elastic Loadbalancer?
Could likely be something as haproxy, nginx, etc. Does someone know more respectively has any proof ...
0
votes
1
answer
5k
views
How does a load-balancer manages end user http sessions? [duplicate]
I would like to know, How HttpSession works on Load balancer?
How Load balancer knows for the particular request need to send the respective Web Server?
Here's what I would guess:
1. load-balancer ...
1
vote
1
answer
383
views
Nginx Load Balancing proxy confusion
I'm currently trying to setup a load balancer for a bunch of download mirrors. While reading into this subject I saw Nginx lends itself perfectly as a load balancer, great! But when looking at the ...
1
vote
0
answers
26
views
Php load balancing questions
I have a custom written ecommerce app that runs on it's own dedicated server. All of it's constants (such as database connections, file paths etc..) are defined in a single _constants.php file. The ...
2
votes
0
answers
2k
views
Sticky sessions with Apache load balancer for Socket.io 1.0
I've been messing around with Apache as a load balancer for my Socket.io server. I went through the following topic and now everything seems to be fine.
Configuring Apache 2.4 mod_proxy_wstunnel for ...
2
votes
2
answers
13k
views
Apache SSL Errors every 30 seconds
I have three load-balanced Apache 2.4.6 servers running on fresh installs of CentOS 7. The load-balancer is a Barracuda 340. I know its old, but it's more than capable of handling the traffic, and ...
40
votes
3
answers
21k
views
How to make redundant load balancers?
I understand that the purpose of load balancers is to balance load between your servers and keep track of instance health, etc. But what if load balancer itself fails? How do you set up redundant load ...
8
votes
2
answers
33k
views
Redis high availability and load balancing
I'm using Redis for some time and now we want to move to a redundant cluster which would be fault tolerant, highly available and load balanced.
I principally use Redis for some PHP web application ...
3
votes
4
answers
9k
views
ELB Https with HTTP on backend using Tomcat without nginx or haproxy
I want to setup ELB to terminate SSL at load balancer and communicate with backend instances over HTTP. I have uploaded valid certificate on ELB. When I set up following configuration
ELB - HTTPS
...
9
votes
2
answers
15k
views
Gracefully take a server out of Azure Load Balancer (drain stop)
We have an application deployed to Azure IaaS VMs, served by IIS. In order to install updates, we need to take each machine out of the load balancer, one by one.
Before moving to Azure, we were using ...
0
votes
1
answer
1k
views
Haproxy dynamically promote backup server to master
Let's say if I have two mysql databases, db1 and db2. Is that possible to configure haproxy to work like that:
In the beginning: db1 work as master and db2 as backup.
The haproxy will promote db2 as ...