load-balancing

Can't access Windows 2008 NLB cluster from internet

I have two dedicated servers with Limestone Networks, each with two network cards. One of them is connected to the Internet and gives me access to 5 public IPs per server. The second card is connected to their private network (they call it "Private Tunnel") which allows me to connect to the servers without wasting my bandwidth. I could ...

Why won't haproxy capture my cookie?

I'm having trouble getting frontend cookie capture to work in haproxy. I have this in my config: frontend frontend 0.0.0.0:9999 [snip] capture cookie foo len 10 Then I use nc to talk directly to the server and send it: GET / HTTP/1.1 Cookie: foo=bar I get a log line, but there's a "-" where the captured cookie should be. ...

How to get your code ready for Loadbalancing

As we did this in the past, i'd like to gather useful information for everyone moving to loadbalancing, as there are issues which your code must be aware of. We moved from one apache server to squid as reverse proxy/loadbalancer with three apache servers behind. We are using PHP/MySQL, so issues may differ. Things we had to solve: Se...

Architecture recommendation for load-balanced ASP.NET site

UPDATE 2009-05-21 I've been testing the #2 method of using a single network share. It is resulting in some issues with Windows Server 2003 under load: http://support.microsoft.com/kb/810886 end update I've received a proposal for an ASP.NET website that works as follows: Hardware load-balancer -> 4 IIS6 web servers -> SQL Server DB ...

Website Partitioning and URL space.

My website is growing. I need to partition feature sets to different group of servers instead of having all features run on a single server copy. I have 8 identical servers in a Windows Network Load Balancing setup. The problem is: I need to keep the URL space the same. What would be a workable solution? I don't want to start new domain...

How to Configure Symfony Configuration for Load balancing purpose?

How to configure symfony for load balancing purpose? Basically, my load balancing technique works like this: Determine where is the symfony module ( login module, main menu module etc) of an url Direct the module to appropiate servers. ...

Load Balancing Tomcat Servers using IIS

Does anyone have any experience using IIS and basic network based round robin'ing to connect load balance tomcat servers (on separate physical boxes)? If so, any pointers you can provide would be greatly appreciated. Thank you in advance! ...

Using Erlang, how should I distribute load amongst a cluster?

I was looking at the slave/pool modules and it seems similar to what I want, but it also seems like I have a single point of failure in my application (if the master node goes down). The client has a list of gateways (for the sake of fallback - all do the same thing) which accept connections, and one is chosen from randomly by the clien...

Keeping DNS at one place. What possibilities are out there?

I host a couple of websites for some customers. So basically what they do is change their A Record to my server's IP and everything works fine. Now I want to upgrade my server and of course my clients have to change their A Record. So what I want for the future is to keep my flexibility in choice of servers without having to annoy my ...

Architectural Patterns Pub/Sub Scaling and Disaster Recovery

We will have a source system broadcasting messages over a JMS compliant pub/sub infrastructure. For the majority of messages published the subscribers will be GUI applications updating a screen with the data in the message. One of the subscribers, however, will be a translation service. For certain messages published the translation s...

Determine SSL connection behind a load balancer

Hi all: Looking for best practice here. We deal with SSL connection at our load balancer level and hence all the connection from our load balancer to our web servers are http. With that we have no way of telling what kind of connection the client is making to our web server since all connection is through http. We currently have 2 so...

What options are available for Synchronizing Passwords between load balanced servers?

We have several UNIX machines you can wind up with when you telnet to a certain box. The passwd files are not on a shared mount (I am not sure how safe it is to mount them anyway). The end result is that if you change your password on one box that when you login to the second box it will tell you that your password is invalid. This ma...

how to simulate session end event using sql session state in server farm

The session end event is not available when using SQL session state. We have an existing appication that uses this event, but we need to switch it over to SQL session state so we can set up a server farm for the application. We were hoping to use "sticky sessions" on the load balancer so we could keep using inproc session state, but were...

Prepare Database For SQL Server Clustering

we are planning to implement sql server 2005 cluster in next few months. i wanted to know what steps / precautions need to be taken as a database developer when trying to achieve this? do we need to change any ado.net code (in front end) / stored procs etc etc? are there any best practices to be followed? reason i am asking this questio...

Server-Specific web.config in website hosted from shared drive

Background Info: File Replication is Lame Currently, we have a massive, high-traffic ASP.NET web application load-balanced across 8 different IIS servers. Due to the nature of the site, minor changes to .aspx files and .ascx controls happen frequently throughout the day, and after being tested and published to live, are replicated out ...

SQL Server load balancing

What exists today to do Microsoft SQL Server Load Balancing on Windows Server and being transparent to any programatic access. Is this built in or does a solution have to be purchased? I'm trying to find out if there is a solution today that makes this very easy from the view point of the webservers or other database access to SQL Serve...

Selective Cache clearing across load balanced servers (ASP.Net)

We have a website that runs on two load balanced servers. We use the ASP.Net caching to help improve performance by caching high usage data. BUT, occasionally that data changes. When it does, we need to clear the relevant cache items on BOTH the load balanced servers. Does anyone have some easy to implement suggestions for how this c...

What might be causing the"The client disconnected" ASP.NET exception?

My .NET 3.5 application sporadically throws the following exception System.Web exception: The client disconnected Any ideas why this exception is occurring? My application is running on a load balanced Windows Server 2003 IIS 6.0 server. ...

MySQL Proxy Alternatives for Database Sharding

Are there any alternatives for MySQL Proxy. I don't want to use it since it's still in alpha. I will have 10 MySQL servers with table_1 table_2 table_3 table_4 ... table_10 spread across the 10 servers. Each table is identical in their structure, their just shards with different data sets. Is there a alternative to MySQL Proxy, where...

How can I force a request through mod_jk down to a specific worker?

If I have mod_jk set up with several workers and a load balancer worker, is there a request parameter or something that would allow me to force a specific http request down to a specific worker. For instance if I have a worker worker1 is there something like this: http://www.example.com?worker=worker1 Often we need to troubleshoot prob...