load-balancing

Problem created by load balancing

I have an ASP.NET 3.0 application that works fine on one server. It uses application variables to check if a user has checked out a file and locks it for all other users. When I put the application on the load balanced servers, the application didnt work as expected since it multiple users got sent to multiple servers and each user could...

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 trying to generate a client using something like so $client = new SupplierService(); They g...

TreeView and Postback

Here is my situation: I will have a web page with TreeView control, which is supposed to be expadable/collapsable/editable. All good so far. I know that postback is used heavily in this control which brings me to another problem that's specific to our production set-up. We have 2 web servers here and a load balancer, the load balancer ...

WCF webservice running on a two server cluster, with loadbalancer, resolving web service address

Hi All, Apologies for the long winded title but looking for a solution to what might be a common problem. We have a loadbalancer with address, say: www.myloadbalancer.com Below is two web servers First server: webserver1.farm.com Second server: webserver2.farm.com We deployed a webservice on to the two servers but noticed something ...

how to process long-running requests in python workers?

Hi, I have a python (well, it's php now but we're rewriting) function that takes some parameters (A and B) and compute some results (finds best path from A to B in a graph, graph is read-only), in typical scenario one call takes 0.1s to 0.9s to complete. This function is accessed by users as a simple REST web-service (GET bestpath.php?f...

How to configure JBoss for SSL using F5 Load Balancer

Hi, I am having troubles configuring JBoss for a secure environment. Here's our environment: We have an F5 Loadbalancer which has our domain's wildcard certificate. I have several applications running on JBoss on a server called peanut. From within our firewall, I can run the application as http://peanut.mydomain.com:8080 From the ...

Load Balanced Deployments

I have an application that is load balanced across two web servers (soon to be three) and deployments are a real pain. First I have to do the database side, but that breaks the production code that is running - and if I do the code first the database side isn't ready and so on. What I'm curious about is how everyone here deploys to a lo...

ASP.NET Forms Authentication on Load Balanced Servers

Are there any possible issues with using the default Forms Authentication (see below) on Load Balanced servers? If there can be, what can I do to prevent the issues. <authentication mode="Forms"> <forms loginUrl="~/Login/" protection="All" timeout="30" /> </authentication> Can I use cookies (used by default)? Do I have to go coo...

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 well. Somethings that it mentioned and occur in my mind are Separate handles for reads ...

How to parallelize execution on remote systems

What's a good method for assigning work to a set of remote machines? Consider an example where the task is very CPU and RAM intensive, but doesn't actually process a large dataset. The language of choice would be Java. I was thinking Hadoop would be a good option, but the dataset passed between remote machines is fairly small, and Had...

High performance ASP.NET setup

I would like to ask you what is the best setup for a following application: ASP.NET 3.5 Web site - used as a presentation layer, a lot of AJAX and JS. Will not hit the server a lot. ASP.NET WCF - sevice providing all data to the application. It's responsible for validation, data modeling / preparing and communication with the DB Server...

Outgoing load balancer

I have a big threaded feed retrieval script in python. My question is, how can I load balance outgoing requests so that I don't hit any one host too often? This is a big problem for feedburner, since a large percentage of sites proxy their RSS through feedburner and to further complicate matters many sites will alias a subdomain on the...

How can I ensure closing all connection in loadbalancer when something fails or hangs?

I'm trying to write a simple load-balancer. It works ok till one of servers (BalanceServer) doesn't close connection then... Client (ReverseProxy) disconnects but the connection in with BalanceServer stays open. I tried to add callback (#3) to ReverseProxy.connectionLost to close the connection with one of the servers as I do with closin...

BizTalk server problem

Hi, we have a biztalk server (a virtual one (1!)...) at our company, and an sql server where the data is being kept. Now we have a lot of data traffic. I'm talking about hundred of thousands. So I'm actually not even sure if one server is pretty safe, but our company is not that easy to convince. Now recently we have a lot of problems. ...

Assets Management in a clustered environment

Hello, I have a content management system running on a web server, that among others allows the user to upload assets like images, files, etc to the server. The problem i have is that there will be 2 servers running behind a load balancer and i am trying to find an efficient way to handle the assets management. The question i have is: ...

Can a load balancer recognize when an ASP.NET worker process is restarting and divert traffic?

Say I have a web farm of six IIS 7 web servers, each running an identical ASP.NET application. They are behind a hardware load balancer (say F5). Can the load balancer detect when the ASP.NET application worker process is restarting and divert traffic away from that server until after the worker process has restarted? ...

memcache loadbalance/failover plan

I wanna know if there is any loadbalance/failover plan for memcache. I'm using JAVA client. I knew some client implementions can talk with multi memcache servers, but how about loadbalance? ...

clustering and loadbalancing through J2EE

I want to develop clustering and load balancing by using j2EE,I want to use two Tomcats in back-end,If any request arrives to my application it should send request to the tomcats based on the load factor.I want to add fail over and session replication to my application. Please suggest.. The API for load balncing and clustering that i h...

IIS 6.0 Load Balancing and ASP.NET In-Proc Session

We have three web servers in our web farm that are load balanced using the Network Load Balancing Manager in Windows 2003. The sites that run on these boxes use In-Proc ASP.NET session. Our assumption is that the balancing uses a "sticky" session because users seem to be assigned to a given server during their use of the application as...

How does a JMS Topic Subscriber in a clustered application server recieve messages?

Suppose I created a JMS Topic (PropertiesTopic) with one subscriber (PropertiesSubscriber). PropertiesSubscriber is running in a load balanced application server cluster as shown in the picture below. When a message is delivered to PropertiesTopic, do all the instances of PropertiesSubscriber running on different app servers get tha...