Client side load balance

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
dharprog
Forum Contributor
Posts: 126
Joined: Fri Oct 27, 2006 12:20 am

Client side load balance

Post 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.
thecodewall
Forum Commoner
Posts: 33
Joined: Sun Dec 26, 2010 8:37 am

Re: Client side load balance

Post 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.
User avatar
dharprog
Forum Contributor
Posts: 126
Joined: Fri Oct 27, 2006 12:20 am

Re: Client side load balance

Post 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.
Post Reply