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

Load balancing web sockets and long-polling

If I have a web application running on 3 machines that supports web sockets and a client connects to one of them, will each request always go to the same machine, or can a load balancer send it to different machines? Basically, once a web browser…
user2668128
  • 39,482
  • 8
  • 27
  • 34
2
votes
1 answer

AWS : S3FS AMI and load balancer high I/O Issue

I am trying to setup the project environment over AWS .. As per my little bit of research I came to know about S3 buckets service. And I also come to know that If I will put our code files inside that S3 bucket will be much more relevant then…
2
votes
1 answer

PHP SESSION is NOT SAME (Not-in-Synced) in load-balanced Servers?

just moved to AWS and launched 2 RHEL Servers, load-balanced. And installed Apache and PHP. Thats all. And second is even the image of first server. But suddenly i just noticed the PHP $_SESSION variables are NOT IN SYNCED. Having differently on…
夏期劇場
  • 17,821
  • 44
  • 135
  • 217
2
votes
2 answers

How to do load balancing in distributed OSGi?

We deploy two service instance in difference machine using CXF distributed OSGi. we want to give the system the load balancing feature. All we know the OSGi don't provide any load balancing feature. Does anyone know how to do it ?
2
votes
1 answer

OAuth and sticky sessions

I use OAuth 2 for authorization and need to implement it in a load balanced cluster. I've considered a few approaches, but it seems there is no way around a centralized approach. Here are my thoughts: 1. Balancing using source IP Caching the tokens…
user187676
2
votes
1 answer

Azure windows virtual machine load balance

First I've captured image of my Azure windows virtual machine see, then I created two new virtual machines(VM1, VM2) from this captured image. Now I want to do load balancing with these 2 virtual machines see. But the "LOAD-BALANCE TRAFFIC ON AN…
waghekapil
  • 321
  • 1
  • 5
  • 22
2
votes
0 answers

Can ehcache cache files in the file system in a distributed way?

I'm curious, can EhCache be used to distribute files across multiple servers, or do I have to use a different solution for such? The reason I'm asking is that we have an application that generates small binary files on request, and we're trying to…
OddBeck
  • 835
  • 8
  • 19
2
votes
4 answers

Create a database for scalability

How do i create a database for scalability? I am in the middle of http://www.slideshare.net/vishnu/livejournals-backend-a-history-of-scaling which i cant read ATM and need to leave. But i would like to know more about creating a database that scales…
user34537
2
votes
1 answer

Website running in the cloud - Azure, replication globally all over MS datacentres?

I am new to Azure and website deployment, and I am trying to make sure I understand how things work. As far as I understand, once I create a website, a web application is created and begins to run in the cloud before publishing my own site even. I…
2
votes
1 answer

Get Server IP Address in Current Request

I have a website deployed on 3 different servers and these are using the load balancer. i want to get the real server IP Address not the load balancer. i am using the code: HttpContext.Current.Request.ServerVariables("LOCAL_ADDR")
Sohail Hameed
  • 978
  • 2
  • 9
  • 25
2
votes
1 answer

Bouncy or nginx for load balancing websockets?

I want to add a load balancer infront of my nodejs websockets server. The plan is to add another node on another physical machine and have a load balancer in front. The load balancer will also be on its own physical machine. The requirement is that…
Patrik Grinsvall
  • 584
  • 1
  • 4
  • 22
2
votes
2 answers

WCF Interop with PHP behind a load balancer

I'm trying to help a customer interop w/ a PHP client but we have a load balancer that is in front of the IIS farm. Because of this when you actually view the .svc?wsdl you get specific server listed inside this WSDL. Then when my customer is…
Toran Billups
  • 27,111
  • 40
  • 155
  • 268
2
votes
1 answer

Possible to use a custom load balancing policy for Tomcat 7?

This is a variant of the previous question I asked: Possible to use Single URL for multiple tomcats I noticed that Tomcat's load balancer, JK, supports round-robin weighted load balancing. I'm wondering if it is possible for me to implement a custom…
Jin Kim
  • 16,562
  • 18
  • 60
  • 86
2
votes
0 answers

tomcat 6 horizontal clustering?

Please don't hesitate to ask for additional resource from me and don't hesitate to edit the question. My Load Balancing configuration will be, workers.java_home=C:/Program…
Human Being
  • 8,269
  • 28
  • 93
  • 136
2
votes
3 answers

Session Clustering a Grails app in Tomcat

Has any one done it yet? I am having class loader problems de-serializing the grails session object. Here is the error: WARN net.spy.memcached.transcoders.SerializingTranscoder: Caught CNFE decoding 1168 bytes of data [exec]…
Langali
  • 3,189
  • 7
  • 38
  • 45
1 2 3
99
100