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
1 answer

Nginx's upstream failed, how to recover

From the doc: http://wiki.nginx.org/HttpUpstreamModule#server It said when the upstream reached max_fails within fail_timeout and it will become dead. What if my server is up sometimes after? In general, If a upstream server failed, will nginx…
Ryan
  • 5,831
  • 24
  • 72
  • 91
1
vote
1 answer

Existing connexion on Apache and mod_proxy_balancer don't fail over second JBoss node

I have a Jboss farm, load balanced by Apache HTTP + mod_proxy_balancer and mod_proxy_ajp, with the following configuration : ServerName web-gui-acceptance.myorg.com ServerAlias web-gui-acceptance ProxyRequests Off …
Jean-Rémy Revy
  • 159
  • 2
  • 14
1
vote
1 answer

scalability with nginx, passenger, ruby on rails setup

Possible Duplicate: How do you do Load Testing and Capacity Planning for Web Sites Hey guys I had a question regarding scalability for my RoR application. We have been optimizing our application over the last few days and after running blitz.io,…
Dani Cela
  • 123
  • 1
  • 2
  • 10
1
vote
1 answer

How to have multiple computers transparently share same IP?

This is a routing question. I want to set up a block of IPs (1.1.1.0/24) in the following configuration: /(eth1)-- (Main (1.1.1.3-1.1.1.253) Router (1.1.1.1) --(eth0)(Load balancer or Router) (1.1.1.2) …
user1669986
1
vote
2 answers

Clustering with Vsphere and Apache load balacing

I was looking at Vsphere to automatically load balance my apache web servers, and mysql servers but will this actually do the job? I know it says it does auto load balancing but not actually sure it quite means what I want to achieve. Is there an…
1
vote
2 answers

Load Balancing Options on Tomcat

I have applications running on tomcat, previously standalone. Now I have to implement high availability for all apps, so here I am. I have the option of a hardware load balancer or some other means. I will like to know if there are gotchas I have to…
keni
  • 139
  • 2
  • 10
1
vote
2 answers

Drbd Primary/Primary + iSCSI: accessing to different files avoids split brain?

I have a question / curiosity about split-brain on a Drbd Primary/Primary configuration. Supposing two nodes (hosts), host1 and host2 configured with Drbd Primary/Primary and two different shares (NFS, CIFS o iSCSI) of a replicated area (saying…
Eddie C.
  • 535
  • 1
  • 3
  • 12
1
vote
1 answer

Configure domain for 2 IP

I am doing a service that for each user creates subdomain. So for example I have 2 servers, each with own IP. For example www.example.com is only one IP. But all others should have proj1.example.com (1 IP), proj2.example.com (2 IP). What should I…
Igor Golodnitsky
  • 287
  • 1
  • 2
  • 13
1
vote
0 answers

trying to understand network layer(s) in WebAPI server cluster

I'm in the process of building my first webAPI server cluster. The webAPI hosted by this cluster provides a hi-comute resource, where each task request requires between 0.5 and 1.0 seconds of CPU time. The API is transactional, so the traditional…
1
vote
2 answers

Loadbalancing JBoss with haproxy AND mod_jk

I've been tasked to explore ways of building a very fail-resistant configuration for a professional application developed for JBoss. I have a somewhat fixed hardware configuration (servers have already been selected and they are meant to handle…
ItsGC
  • 905
  • 7
  • 12
1
vote
1 answer

Service haproxy error

I want to configure Haproxy for outgoing mail load balancing. my configuration file /etc/haproxy.cfg is. global maxconn 4096 # Total Max Connections. This is dependent on ulimit daemon nbproc 4 # Number of processing…
user128296
  • 371
  • 3
  • 11
1
vote
1 answer

Multiple requests from a single ip address (MySQL & apache)

Are there any queuing issues/limits that I should be aware of when running a web application on a remote server with all of it's users are going to be making requests from the same IP address? The application will be running on a manage dedicated…
rgvcorley
  • 133
  • 6
1
vote
1 answer

Migrate to mysql replication server without interuption

I have a 3 apache2 / tomcat servers in a load balanced setup. Each tomcat server is connecting to a MySQL v5.0 database (all 3 share it). I created on the same network a MySQL v5.5 semisynchronus setup (1 master 2 slaves) they're all up an running…
1
vote
2 answers

What's wrong with this vcl config for varnish-cache as load balancer?

I have the current configurations active on my default.vcl varnish file on the machine that balances the load for other two machines (the other two machines also have varnish active). My intention is to have this server do only the load balancing…
dabito
  • 111
  • 6
1
vote
1 answer

Would Sphinx be a good solution to solve server getting bogged with heavy MySQL reads?

I'm working on a site that I believe gets about 70k visits a day and it makes use of a lot of queries which uses UNION's over about 45 different tables, these tables generally range from about 15k rows to about 500k rows in each table. We have…
Brett
  • 319
  • 1
  • 3
  • 12