Page 1 of 1

Client side load balance

Posted: Fri Dec 31, 2010 1:29 am
by dharprog
Hi Guys,

How we can achieve Client side load balance.

I have an application, where the client does not want to show his site is down, he want us to implement with client side load balanc.

We have iframe, in the iframe itself everything loads, So how we can hanlde the server fail over and how we can get the Error page from a CDN url?

How do we need to make a check that whether the server is down or not?

If there is any source or library or guidance from you please provide me...

It is very appreciable.

Thanks and regards,
Dharprog.

Re: Client side load balance

Posted: Wed Jan 05, 2011 12:23 am
by thecodewall
you can use try and catch.
ajax is cool too, when ajax call a page it returns or check weather the page is not available or page status.

Re: Client side load balance

Posted: Thu Jan 06, 2011 10:26 am
by dharprog
Hey

Thanks for the reply.

But how do we initiate the server checkup with javascript as we are not using any ajax over here, just using a IFRAME and in the IFRAME the Src url will be added.

So everything happens thru HTTP only So how do we bind these HTTP requests in the IFRAME thru javascript and can check the status of the Server.

Kindly respond to my questions...

Thanks and regards,
DharProg.