server side redirection without the intervention of the browser
I've got a website replicated on different severs. When one of the servers is busy the requests must be redirected to another server which has less load. The problem is that while redirecting, the browser should not be aware of the redirection. The server itself redirects the request to another server which has less load (by some means it should 开发者_如何学Gocheck the load of the server to which the request is being redirected) using server-side redirect and then receives the response from that server and then sends the same response to the client. Could anyone suggest me the possible code and help me out in this regard? Thanks in advance..............
I'm pretty sure the only way to do this is to setup network load balancing at the server level. Here's some links:
- Overview
- How to setup
- How to configure NICs
- Configure ASP.Net to share state/keys across servers
精彩评论