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
2
votes
0 answers

Socket.io as a load balancer

I am developing a Twitter app that (on the backend) consumes Tweets does some fairly intense processing and then stores the data in a database for use later by the client. All of my servers are running node.js. I am going to have a server connected…
Justin Elkow
  • 2,833
  • 6
  • 28
  • 60
2
votes
1 answer

Images not found when using load-balancer, mod_pagespeed, https and mounted disks

I've been having a problem since i installed mod_pagespeed across our LAMP servers and i can't seem to find an answer to it Set-up: Load balancer across 4 LAMP servers Mixture of http and https pages Product images are shared amongst the servers…
buffcoredave
  • 179
  • 1
  • 9
2
votes
0 answers

Can Nginx "load balance" requests to multiple backends?

I realize this is kind of a strange situation, but bear with me. Suppose I have a request being sent from some client-side Javascript which I want to forward to multiple upstream servers. There's no need for any sort of response, just an immediate…
Adrian Petrescu
  • 16,629
  • 6
  • 56
  • 82
2
votes
1 answer

How to associate properties to socket.io object in Redis Store?

I am working on a complex game with Nodejs and Socket.io, where I need to store socket.io objects in the memory and also assign properties to the socket object ( say a name , a counter of some action from the socket , etc ) In the code below, I…
geeky_monster
  • 8,672
  • 18
  • 55
  • 86
2
votes
4 answers

Is it possible to implement load balancing using the Border Gateway Protocol (BGP)?

Can I implement load balancing in BGP?
user272947
  • 21
  • 1
  • 2
2
votes
1 answer

Nginx upstreams and Heroku

I would like to use Nginx upstreams to balance two instances of an application, one of them is on an EC2 server and the other on Heroku. The problem is, when I put the app.herokuapp.com in the upstream directive, it resolves to the ip address, and…
bwagner
  • 1,029
  • 1
  • 11
  • 13
2
votes
1 answer

Load balancing via MySQL JDBC driver (Connector/J)

I have been exploring MySQL JDBC driver and understand that it is able to do load balancing with this url ("jdbc:mysql:loadbalance://"). I looked into the documentation and it seems that only random and best response time methods are used for load…
2
votes
2 answers

Load Balancing Setup and Syncing

I'm setting up load balacing for the first time and have some questions about syncing codes, static files and database. My server is Ubuntu 12.4 and going to use rackspace cloud load balancing. For code, I can probably use git to sync all files.…
DavidL
  • 1,260
  • 2
  • 17
  • 35
2
votes
1 answer

Socket.io huge server response time when using xhr-polling

I am trying to scale a messaging app. Im using nodeJS with Socket.io and Redis-Store on the backend. The client can be iphone native browser, android browsers .. etc I am using SSL for the node connection, using Nginx to load balance the socket…
Charbz
  • 536
  • 3
  • 13
2
votes
0 answers

Adapting a Ford-Fulkerson solver to include minimum weights

I have implemented a solution using Ford-Fulkerson to solve an allocation problem Say a system where there are multiple people wanting to take part in multiple activities. Each person has a list of activities they want to do but can only be assigned…
Hector
  • 1,170
  • 2
  • 10
  • 27
2
votes
1 answer

How to hide a node.js server using http-proxy

I am using following code to implement reverse proxy at node.js . It is working fine but problem is that when I am trying to access server 127.0.0.1:9008/" it is quite accessible. I want it to be accessible only through proxy server. Please…
2
votes
0 answers

Two node Tomcat based Load Balancing: Architectural styles

Am working on setting up a 2-node load balancer for Tomcat web server either using Apache or employing a commercial tool named Barracuda. The servers are high end Intel servers with powerful configuration (for the requirement under consideration) in…
John C
  • 1,795
  • 4
  • 27
  • 42
2
votes
1 answer

Elastic Load Balancer not passing X-Forwarded-For in Beanstalk app

I am currently testing the deployment of our webapps onto an Elastic Beanstalk instance. I have created a barebones app that simply outputs the request headers using jstl tags, and also by grabbing the header from inside a controller. However, it…
2
votes
2 answers

Validation of viewstate MAC failed

Ran into this issue yesterday on one of our sites. First of all the site is hosted in a web farm environment and for the time being I have added a static machineKey to the web.config on both nodes (2 node environment). This has solved the issue and…
Dieter G
  • 930
  • 2
  • 9
  • 24
2
votes
0 answers

How to create a C# WCF application with high availability and performance

I have developed a C# WCF application, which when called performs inserts and updates in a MySQL 5.6 database, running on a Windows 2008 server, with IIS. The requests can range from a single update or insert for 1 row, to 1000 updates or 1000…
neildt
  • 5,101
  • 10
  • 56
  • 107