load-balancing

Is there a problem with ADO.NET DataSets in a load balanced environment?

For the last few months we've had a wierd problem with our website. Once in a while various queries to the database, using ADO.NET DataSets, will throw an error... the most common of which is "Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints." The data is actually val...

Reality Question : Do you tune the IIS Max thread pool ??

By default, the IIS 6.0 process creates as many as four threads per processor. We can adjust the maximum number of threads in the IIS 6.0 service process by adding the MaxPoolThreads entry to the following registry path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Inetinfo\Parameters and give the value between 2 - 20. I would...

IE6 Z-Index Difference Between 2 Servers

So, I have 2 servers that serve pages. I am running ColdFusion on Windows Server 2003 with IIS6. I created the site and synchronized the files between the 2 servers. In the right hand side of my site is a popup div for the search. On Server1 in IE6, this div works perfectly, on server 2 it gets cut off. Due to the synchronization so...

asterisk load balancing using openser/opensips

I need to load balance incoming calls to asterisk. To do this, I have set up the Openser server in front of it and I loaded and configured the dispatcher modules to do so. What I want to do is that the Openser server will receive the calls and route them to the least "busy" Asterisk server which will take care of the rest (I have an IVR ...

Isapi Rewrite - preserving HTTPS in redirects behind load balancer

Hi, I'm running a site which has 2 separate sub-domains - one for HTTP and another for HTTPS. http://www.example.com https://secure.example.com http://secure.example.com does not exist and will not resolve. The problem is that the site is running behind a load balancer which handles all SSL. Communication between the load balancer ...

How much load can a standard Jira on Tomcat installation take?

We are running Jira on a 4 way 32 bit RHEL box with 4 GB RAM with no problems so far. However we anticipate an increase in the number of users and would like to know the maximum no. of simultaneous requests that a Tomcat-Jira server can handle. (The Jira application is deployed on a standalone tomcat server that runs nothing else, so eve...

Why are some websites spread across www2, www3 sub-domains whilst others manage scaling without it?

I know it's to do with having a variety of load balancing servers, but why do some sites make use of differently named "www" sub domains (www2.somesite.com, www3.somesite.com etc) where as other can be perfectly massive without doing this - ie all traffic is to www.hugesite.com. Does it indicate certain architectural decisions / have a ...

Database cluster and load balancing

What is database clustering? If you allow the same database to be on 2 different servers how do they keep the data between synchronized. And how does this differ from load balancing from a database server perspective? ...

Best Book for Amazon AWS use and load balancing?

Hi All, Do you know any great book about Amazon Web Services and how to exploit it the best way to do load balancing? Many thanks for any help, Best, Raphael ...

Load Balancing IIS. Serving images and simple html from one server and asp.net pages from another

Hello, we are using windows 2003 server with dual CPU and IIS gets overflown with requests and not able to handle them but at the same time it uses less than 20% of the CPU and less than 40% of ram. When server is not able to serve any requests not only its not possible to browse the site but its not even serving images which are used o...

How to keep multiple read/write DB servers in sync?

Hello I'm curious to know how big sites spread the load between the different DB server in the case where users write as much as they read, ie. when the standard solution of having one master to accept write, and several slaves that only let users read data doesn't work because it simply turns the master server into the bottleneck. For...

How Windows Azure Platform scales instances and balances workload?

The Windows Azure Platform allows an application to be deployed to one or more instances. The fabric controller then balances your application's workload across those instances. Can the number of instances be scaled up/down based on demand or are the number of instances static? If instances can be dynamically started how much control ...

Systems design question: DB connection management in load-balanced n-tier

I'm wondering about the best approach to designing a DB connection manager for a load-balanced n-tier system. Classic n-tier looks like this: Client -> BusinessServer -> DBServer A load-balancing solution as I see it would then look like this: +--> ... +--+ +--> BusinessServer +--+-...

load balanced servers, clustered dbs and mutexes

Hello, I'm writing an multi-threaded app which will live on two active-active load balanced servers and access a clustered database on another server. Obviously I don't want multiple threads writing to the same records at the same time and SQL provides locking to ensure this doesn't happen. What are the advantages and disadvantages of u...

What application problems have you seen with a load balanced scenerio?

What application problems have you seen with a load balanced scenerio? I'm looking to learn from other peoples stories. The story that I learn the most from will win. ...

Best way to share data between .NET application instance?

I have create WCF Service (host on Windows Service) on load balance server. Each of this service instance maintain list of current user. E.g. Instance A has user A001, A002, A005, instance B has user A003, A004, A008 and so on. On each service has interface that use to get user list, I expect this method to return all user in all servic...

How to configure dotNetOpenId in an session less load balancing environment

You've probably solved this before. I need to be able to use open id in an environment that does not have session stickiness. The servers do preserve the headers. I'm using ASP.NET MVC and dotNetOpenId version 3.2.0.9177. Although the authentication on the 3rd party web site goes without a hitch when returning the response I get an err...

Tomcat Clustering and Load Balancing ?

I have 3 tomcat servers where users get into all time. They are 3 because the processing of each request is heavy (lot of sql). Lusers enters to server 1 or 2 or 3. Now I want to make them "one". I know I need do clustering but, will clustering spread the requests thru the 3 servers or here is where I need implement load balancing with a...

Weighted, load-balancing resource scheduling algorithm

A software application that I'm working on needs to be able to assign tasks to a group of users based on how many tasks they presently have, where the users with the fewest tasks are the most likely to get the next task. However, the current task load should be treated as a weighting, rather than an absolute order definition. IOW, I need...

Load Sharing for ASP.NET sites

Right now, my site is served by a single server, but I anticipate the need to increase my server capacity, soon. Instead of splitting my websites up among multiple servers and having to manage sessions across servers, I want to have multiple web servers all with the same code base on them and use router based round robin load sharing to ...