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
1
vote
3 answers

SMTP smarthost round-robin balancing

Our SMTP provider requires to distribute emails evenly between four different hosts. I understand that the standard way to distribute this kind of load is utilizing DNS round robin feature, but the problem is that provider's mailservers should be…
Alex
  • 7,939
  • 6
  • 38
  • 52
1
vote
1 answer

How do I test load balancing in my LAN?

I recently posted a question regarding the issue of loadbalancing webservers on a budget. It's finally time to begin the testing so I thought about setting up two or more Ubuntu VM's in my LAN running pacemaker+corosync in order to learn the basics…
Industrial
  • 1,579
  • 6
  • 24
  • 37
1
vote
1 answer

Issue with load balancer

I am trying to load balance between two Apache http webservers. I created a load balancer using mod_proxy_balance from Apache. When I run my client (which generates ~100s of threads every second and tries to browse through the website), after a few…
sethu
  • 371
  • 3
  • 16
1
vote
3 answers

PHP-FPM with nginx load balancing long request blocks all other requests

I have three servers, the load balancer runs nginx and passes the PHP requests upstream to one of two servers running php-fpm. I was actually trying to test concurrency in the first place, so the php script on each PHP-FPM server shows a start and…
Paul Ridgway
  • 119
  • 1
  • 6
1
vote
1 answer

Load balancing with apache2-mpm-itk

I'm doing some research for a project I'm working on, and I'm a bit stumped as to what to do when it comes to load balancing and mpm-itk. I currently have a web server (webA) running apache2-mpm-itk, which stores the user files in /sites/.…
Ben
  • 13
  • 3
1
vote
3 answers

Is it ok to simply clone a vmware image of an Ubuntu server if I need a new load balancer node?

Is it ok to simply clone a vmware image of an Ubuntu server if I want an exact copy to run as a load balancing node? I realize I, at the very least, have to change the new machine's ip address and name, but are there any other things I should be…
JohannesH
  • 369
  • 2
  • 5
  • 21
1
vote
1 answer

Asp.Net web farm IIS on EC2 and ELBs

I'm a developer now developing my startup. I really don't know much about IIS setup. I will host my startup on Amazon EC2. And I want to know how can I scale my application if my traffic increase. I been reading about MS Deploy and Web Farm…
elranu
  • 111
  • 5
1
vote
1 answer

download speed become too low with reverse proxy

I've set up nginx reverse proxies to send requests to Apache servers, to serve each incoming request so that the static content will be handle by itself and dynamic will be sent to Apache running on same machine. But after completing the setup, the…
andrew
  • 11
  • 1
1
vote
3 answers

SQL Server 2008 CPU usage goes to 100% - troubleshooting help needed?

I have a fairly powerful database server having SQL Server 2008 R2 installed. There is only one database on it which is being accessed from 2 servers (around 5/6 applications). The problem is as soon as applications start pointing to the database,…
Ali
  • 111
  • 3
1
vote
1 answer

DNS load balancing with algorithm

I have 2 web servers that I want to load balance between them using the DNS technique. But the kind of load balancing I want to implement is a little bit different: When a request comes in to the load balance server (Which I'll set up in addition to…
Ron
  • 143
  • 4
1
vote
2 answers

Load Balancing and Securing Server for Custom TCP Protocol on EC2

We've developed a custom TCP protocol to interface with iPhone clients over sockets and I am looking to layout our production server. We'll be running our server written in erlang on a single debian EC2 instance as well as most likely running mysql…
Eliot
  • 13
  • 3
1
vote
1 answer

OptiQroute does not favor weighted WAN connection

I have an interesting problem: Our load balancer (a FiberLogic OptiQroute 2140) seems to consistently favor one WAN connection over another (and not one I want it to). We have two WAN connections from different service providers. One is a SDSL…
user62491
1
vote
2 answers

Ubuntu Linux and Crossroads loadbalancer not quite working

after some advice regarding a problem i am getting using a linux based piece of software to balance traffic between two servers. Basically we have our production website and a backup system (at remote site). the production is being mirrored to the…
Kristiaan
  • 442
  • 1
  • 9
  • 22
1
vote
1 answer

Create groups of backends depending of the virtual host requested

Say I have 6 web servers behind haproxy. Web servers should provide virtual hosting using apache (apache or nginex does not matter). I would like to be able to specify where the incoming HTTP requests (hitting haproxy) should go based on the virtual…
1
vote
1 answer

multiple loadbalancers in modjk configuration in Apache Webserver for JBoss Instance Load-balancing

In most of the cases, we will have 1)only one worker defined of type 'lb' (Loadbalancer) 2)we will have multiple member workers (target application server instances defined) 3)We will map those target workers with defined load balancer with the…