load-balancing

How to set up SSL in a load balanced environment?

Here is our current infrastructure: 2 web servers behind a shared load balancer dns is pointing to the load balancer web app is done in asp.net, with wcf services My question is how to set up the SSL certificate to support https connection. Here are 2 ideas that I have: SSL certificate terminates at the load balancer. secure/unsec...

Load balancing OR Failover servers for .net application

Scenario I have service written in c#.net. Now on my production environment I want this service to be on 2 different servers for Loadbalancing or failover of one of the server. So for instance if one server dies the service keeps running on the other server and users are not affected OR if there is a heavy load on the site users get ...

Network Load Balancing Server

I want to create NLB (Network Load Balance) server, do I require any specific software or hardware for this? ...

Load balance web application

There are load balanced tomcat web servers. Every request could be served by different tomcat server. How could we take care of this while writing code for the j2ee (struts) based web application? ...

mod_proxy time-outs (502) and failovers

Hi, so we're running a cluster of 2+ backend servers (happend to be JBoss servers) that are being load-balanced by an Apache 2.2. From time to time it can happen that the backend servers become unresponsive (meaning they'll wait ages to reply to a request, but don't close the connection immediately). This will naturally end up in a 502 ...

Elastic Load Balancing in EC2

Hi Its been on the cards for a while, but now that Amazon have released Elastic Load balancing what are your thoughts on deploying this solution for a high-traffic web app. Should we replace HAProxy or consider ELB as a complimentary service in front of HAProxy Appreciate any comments or suggestions Thanks Dom ...

Mixing RewriteRule and ProxyPass in Apache

I was working on debugging an issue today related to mixing mod_proxy and mod_rewrite together and I ended up having to use balancer://mycluster in the RewriteRule in order to stop receiving a 404 error from Apache. I have two questions: 1) Is there any other way to get the rewritten URL to go through the balancer without adding balance...

Memcached on EC2

Am I right in thinking that until I am able to afford dedicated servers or have any spare servers, I could successfully run a small number of memcached servers through EC2? With the annoucement of the new auto-scaling and load balancing by Amazon today, do you guys think this would be a viable option? And what would be the basic techni...

Call ASP.NET Web Service on the Same Farm as Web Application

I am getting the following error when I try to call an ASP.NET Web Service from an ASP.NET Web Application. I believe it is because the Web Service and Web Application are on the same Farm/behind the same Load Balancer. A connection attempt failed because the connected party did not properly respond after a period of time, or establish...

Load-balanced MySQL cluster without load balancer

Hi. I'm looking to create a load-balanced MySQL cluster, but without the actual load-balancer, in order not to add another point of failure or complexity. What I was thinking was to have the following: 1) Have a master-master setup for MySQL 2) On every client, place a simple round-robin proxy which would rotate the requests between ...

OpenID in a load-balanced situation

Hi, I'm looking at implementing an OpenID provider ('OP') using Java + Tomcat/JBoss. Now one of the key things about OpenID is that The user communicates with both the OP and the RP and has a session with both sites. The OP and RP communicate with each other to ensure the user hasn't faked anything. A subject I've not been able to ...

How do I create a Load Balancer sort of logic using PHP?

Hello all, I wish to make use of my unlimited shared hosting to create several small shared hosting accounts that I can offload processing to. So I need to create some logic in PHP to create the basics of a Load Balancer. I have 4 shared accounts, one is the main site and the other 3 is the processing server accounts. Please see image....

How can I load balance FastAGI?

I am writing multiple AGIs using Perl that will be called from the Asterisk dialplan. I expect to receive numerous similtaneous calls so I need a way to load balance them. I have been advised to use FastAGI instead of AGI. The problem is that my AGIs will be distributed over many servers not just one, and I need that my entry point Aster...

2008 SQL Server Express Load Balancing

Hi, I have 3 home PCs that have 2008 SQL Server Express instances installed on each one of them... but right now only one has my database and I'm also running an application on that machine that requests a bunch of data from the database. I don't know a whole lot about server architecture, but I have read some guides from Microsoft's we...

PHP sessions in a load balancing cluster - how?

OK, so I've got this totally rare an unique scenario of a load balanced PHP website. The bummer is - it didn't used to be load balanced. Now we're starting to get issues... Currently the only issue is with PHP sessions. Naturally nobody thought of this issue at first so the PHP session configuration was left at its defaults. Thus both s...

Ubuntu Linux and Crossroads loadbalancer not quite working.

Hi Everyone, after some advice regarding a problem i am getting using a linux based piece of software to balance traffic between two servers. Basically we have our production website and a backup system (at remote site). the production is being mirrored to the backup constantly to keep them synced. our domain name points at a Linux Ubun...

Astersik load balancing through fastagis

Thank you chochos for the reply. I am using softphones in my case so I do not know if your solution would be applicable in my case. Also how do you define groups and how do you associate channels to these groups in Asterisk? ...

Identifying characteristics of certain categories network traffic (originating from load balancer or port based NAT)

I'm using a sniffer (such as Wireshark) to monitor network traffic. I have no prior knowledge of the network topology. My purpose is to identify IPs as load balancers or NAT entry points. How can I identify that a particular packet originated from a load balancer or has come through a firewall and has had port based network address tra...

Difference between session affinity and sticky session?

What is the difference between session affinity and sticky session in context of load balancing servers? ...

Traffic Shaping, Failover tools

I have just become the only IT manager of a small business. We have multiple internet providers (Comcast, Time Warner, XO and Qwest). I'm looking for some solutions that can aggregate those connections, and use traffic shaping to provide the best route. What are some of my options? Free? Low cost? I don't mind using a linux based sys...