load-balancing

Umbraco running on a Load Balanced IIS 7.5 configuration

I have an Umbraco website that is running on IIS7.5 and is Load Balanced. The users are updating via one side only so that we don't get any issues whilst updating the site. The problem is, each day we have to force a restart of the website by touching the web.config file. If we don't touch the web.config file, the users are displayed ...

Load Balancing using SQL Server and TempData MVC

Hi all, I've been told that MVC 1.0 TempData does not work under a load balancer when using SQL Server and that it is because the Dictionary itself is not serializable. We require this for a project and are looking to be able load balancer effectively. So I would be very grateful if someone could answer the following questions: Is the...

Which software load balancer allows url based load balancing (reverse proxy) with a custom routing algorithm ?

I am looking for a software reverse proxy load balancer that can ispect the url (https://myserver.com?routingkey=helloworld) extract the a value ("helloworld"), and call a plugin function I would provide that returns the destination ip address ("helloworld" ==> "myserver-1.myserver.com"). ...

How can you configure or extend BITS (Background Intelligent Transfer Service) to read files from a Sql Server Database

I have a ASP .NET load balanced application (webservice and website). It runs on SQL server. I need to be able to provide large files for download. However, because of the load balancing situation, the files are stored in the SQL database as opposed to the file system. BITS seems to be the best approach. I have full control of the client...

How to configure Server Topology for exposing an internal application for external access?

Hi All, I guess this question is bordering to a Server Fault question. I'd like to know the best configuration for exposing an internal application (in this case a load balanced Asp.Net MVC application) for external access. More details about the situation: The Asp.Net MVC Application is currently running on 2 servers The 2 servers a...

How to configure memory based auto scaling on amazon aws?

hi guys, I am deploying a rails application on ec2 instances, where I want to configure auto scaling to be used with Elastic Load Balancer. On a particular threshold I want to spawn new instance. while configuring trigger for auto scaling group, we have options for CPUUtilization, Network or disk IO; but being a rails application, I wil...

HA with nginx and cloud environment

I have a node in cloud environment which is used now as nginx and mongrels behind it. This is what nginx config looks like: upstream mongrel { server 127.0.0.1:8000; server 127.0.0.1:8001; server 127.0.0.1:8002; } I want to achieve the following: add another node nginx has to know about this new node automatically witho...

What is the best way to load balance PHP

SO i am in the process of setting up a load balanced configuration for our web application with nginx. I would most probably go with sticky sessions to avoid session issues on the load balanced setup or maybe even go with a database session handler. However there are 2 concerns that i have right now: 1 : When deploying from SVN ( we us...

Looking for a good example of load balancing in .NET using performance counters

Task: Create a system which can produce large amount of tasks (independent pieces of work) in a minimal amount of time. Solution: The system consists of 2 parts: Dispatcher and Worker (WCF service). Dispatcher distributes work between multiple instances (1 - n) of Workers, physically located on several machines. It is needed to distri...

Load balancing and scheduling algorithms.

Hello there, so here is my problem: I have several different configuarion servers. I have different calculations (jobs); I can predict how long approximately each job will take to be caclulated. Also, I have priorities. My question is how to keep all machines loaded 99-100% and schedule the jobs in the best way. Each machine can do...

What technologies exist for app level clustering?

Let's say I have an application that is guaranteed to overwhelm one server even after optimizations. Is there a technology that allows a web application to be split over multiple servers while maintaining its state? Take for example a multiple player online game. Usually in World of War craft there are multiple servers with each one hav...

Setup IIS 6 to only server static files from virtual directories

We're having the same setup and receiving the same problem as: http://stackoverflow.com/questions/713025/iis-6-with-wildcard-mapping-and-unc-virtual-directory-problem Setup Server 2003 32bit, IIS 6 ASP.NET wild card mapping A virtual directory mapped to an UNC share serving static images for a CMS in a load balancing environment My ...

Need a software load balancer that can match URL patterns for traffic routing.

I need to balance traffic to several HTTP listeners. They are in two groups for two different purposes. To illustrate... 10.0.0.1 10.0.1.1 10.0.1.2 10.0.2.1 10.0.2.2 -------+-----------+--------+--------+--------+--- | | | | | +--+--+ +-+-+ +-+-+ +-+-+ +-+-+ | LB1...

microsoft NLB infrastructure - duplicating messages

Hi we have an NLB installation and application which binds to both NLB and other ip. It happened under load condition that both sockets receive information which was sent to NLB address. Has anyone encountered such condition. ...

NHibernate: read/write splitting

I would like to connect NHibernate to a MySQL master-slave replication configuration, so I would like to send writes to the master, and reads to the master and slaves. Is this possible? I am also planning on having a load balancer to balance the reads. (ldirectord) ...

How to design non-EJB load balanced applications?

I have a java class Processor that is listening to a jms topic and it is struggling to keep up with the speed in which messages are arriving so we've decided to go concurrent: A single class listening to the topic who's job is to hand the messages out to a pool of worker threads, effectively being a load balancer. It also has to preven...

Windows identity getting confused between users

We are observing some strange behaviour in our web server logs where where the Identity of the currently logged in user seems to be getting swapped with another user. I will describe our set up before explaining further. We are running an asp.net web site (v3.5 of the framework) on 2 Windows 2008 web servers and use forms authentication...

Maintaining the state in load balanced server?

What are the ways to mainatain the state in load balanced servers? I am using one application which is hosted in two different servers. Now I want to check a record about whether it has already been taken by somebody to edit or not. How to maintain a state inorder to accomplish my above requirement. ...

How does the load balanced server is working?

Thanks for taking time to read my questions. I am having some basic doubts about the load balanced servers. I assumes that, One applicatgion is hosted on the two servers, when one server is heavily loaded the load balancer is switching the responsibilites of handling the particular request to other server. This is how I assumed about ...

Apache + Tomcat with mod_jk: maxThread setting upon load balancing

Hi, I have Apache + Tomcat setup with mod_jk on 2 servers. Each server has its own Apache+Tomcat pair, and every request is being served by Tomcat load balancing workers on 2 servers. I have a question about how Apache's maxClient and Tomcat's maxThread should be set. The default numbers are, Apache: maxClient=150, Tomcat: maxThread...