load-balancing

Zend_Search_Lucene, how to share an index storage folder over network

Hi, I am running web application on two different servers with load balancing, and using Zend_Search_Lucene for indexing documents. Now I am facing indexing issue which a user comes to the site through server #1 and stores information, Zend_Search_Lucene stores index only server #1. So once another user comes to the site through serv...

WCF NetTcpBinding and load balancing

Hi, I have two instances of a WCF service exposing NetTcpBinding endpoints in the application tier, which are consumed by the application tier (heavy traffic website). I need to load balanced these instances under a single VIP. Considering the tcpNet connection pooling, it is recommended to configure the load-balancer as sticky IP, and...

How to Master/Slave switch, load balancing in CakePHP

I need to implement master/slave/load balancing into an existing site. Does anyone use these (or other) implementations for master/slave switching? The resources I found on how to implement master/slave into Cake:. (preferable) gamephase.net/posts/view/master-slave-datasource-behavior-cakephp bakery.cakephp.org/articles/view/master-...

Doing research on SOA LoadBalancing NameServers

When looking at SOA (Service Oriented Architectures) the main problems seems to be distributing a services load across multiple hosts and then managing these hosts (taking hosts off line or adding new hosts) When one service talks to another it should not need to know any host information (at the application level). Rather the SOA Envir...

Load Balancer need info

HI all, I would like to know the internal working of load balancer. Considering I am using either hardware or web server for load balancing, does the load balancer process request parallely. Scenario: Database cluster with load balancer Request 1 and Request 2 both are querying the database for different table at the same time. Consi...

Can I enable and disable sticky sessions on a load balancer from the website behind it?

My challenge is the following. I'd like to uphold the Post/Redirect/Get pattern for posted forms, but after the redirect I still want to show the state of the form in case of invalid fields. This information can be passed by storing it in session quite easily. However these sites usually run on multiple webservers behind a load balancer...

F5, HTTPS and secure connection detection

Real quick question. Configuring a new site which will be supported by a F5 load balancer that is handling the SSL certs. The site will be mixed protocol with a few secured pages but the majority of pages will be http. Now, my understanding of F5 is it strips the protocol off and all communication with the servers occurs over http:80....

Load Balance on Windows 7 Pro Desktop

For development and testing purposes, I'd like to install two "web heads" and a database on my Windows 7 Pro desktop, and then round-robin the incoming requests between them. The basic setup is easy enough, but I have no good solution for distributing the requests between the two web heads. Is there any load balancing solution that I c...

Load Balancing Multiple Django Webservers

I was wondering if anyone had ever implemented multiple Django webservers pointing to a single database, essentially functioning as a single website via load balancing? What software did you use for load balancing? What additional setup/configuration did your Django webservers require? Did you need to modify your Django code in any wa...

jQuery get() returns blank on clustered web site, mod_proxy_balancer error?

I have an jQuery application that works fine on a single-node web server, but breaks when I run it on a testing cluster server (Apache mod_proxy_balancer). The code is this: $.get("/file/foo.xml", function(xml) { alert(xml); } Clustering configuration is: <Proxy balancer://mycluster> BalancerMember http:// 10.32.4.37:90 B...

How do I configure a WCF service that calls other services behind a load balancer?

I haven't deployed behind a load balancer before. My customer has a WCF service built and tested on servers using a service model configuration that is relatively straightforward. It provides a service to return an image of a map for another application. To get the map, it calls other services. The service was built in Visual Studio 201...

How do I convert a set of String Hashes into a number evenly distributed from 1 to 5?

I have a set of strings that need to be load-balanced into 1 of 5 positions of a collection containing List<string>. How can I take the string.Hash() and convert that into an Int that is somewhat evenly distributed? I'm asking so I can figure out a solution for this ASP.NET issue. ...

load balancing issue

How to use load balancing with terracotta in Java application. ...

How to balance bandwidth load in file streaming?

Hi, when it comes to stream big files it seems like nginx 1Gbps upload throughput link is small to handle transfer data from 3-4 storage servers. The cause of my problem is bottle neck in proxy - all data go through loadbalancer. Webservers downloading files from storage and streaming files over http (now through one nginx as loadbalanc...

simple load balancing alghorithm

Hi Im trying to write app, which will redirect or not some web traffic. Suppose, i want to redirect 10 % of movement on to another web server. The thing is, that i dont know how to transfer that conditon into logical condition in my app. As the input i got number of requestes. How to obtain which request should be redirected, and which ...

How do I make sure the EC2 instances behind loadbalancer are not directly accessible ?

I have two EC2 instances behind a Amazon load balancer. The load balancer routes requests on port 80 to the instance port 80. How do I make sure the instance services are accessible only through the loadbalancer DNS and not accessible directly through the instance public DNS ? thanks Santhosh ...

Load balancing a website using different domains

We have a simple PHP site. It is getting hit quite a bit. We have 2 main parts. One is a drop down menu that is updated using AJAX when the user changes the text in the search box. Next, we have a set of results. We are trying to make it an "instant" search, so it updates as the user changes what is in the box. We are worried about load...

Drupal Multisite installation, old stories showing up

I have a multisite Drupal installation with about 20 urls pointing to the same code base and a common database. I have around 20,000 visitors visiting all sites daily which I hope would increase. I am using 2 servers currently- one being the webserver Apache 2 on Linux Platform and the other is the database server- MYSQL. Sometimes, my...

Load balancing web servers: Benefits, disadvantages, mainstream?

The questions I have regarding load balancing are: Why exactly would you want to load balance web servers instead of upgrading to a new server? Is it common practice to have a load balanced setup whether it's for web servers or sql servers? Are there any disadvantages to load balancing? How is user information maintained across both ...

Full Cluster vs Load Balancing

Is there any solutions that "increases power of a single machine" instead of traffic distribution between different hosts. I mean the following schema: "Central server" receives all requests and for its execution it provide "a copy of shared memory" to different hosts. Thanks a lot. P.S. I need that for .NET based web application. ...