Intercept http requests and route it to appropriate server
-
I am writing a load balancer for my web farm. Each request made to my web application need to go though the load balancer, which will first check availability of host machine and will then route request to available machine. Now my web-applilcation is using forms that need to post back to server. Again load balancer need to intercept this post-back to see which machine is available and then route this request to that machine. http://MyLoadBalancerIP/MyApp -> http:// FirstHostMachineIP/MyApp http://MyLoadBalancerIP/MyApp -> http:// SecondHostMchineIP/MyApp Any idea how this could be done?
-
I am writing a load balancer for my web farm. Each request made to my web application need to go though the load balancer, which will first check availability of host machine and will then route request to available machine. Now my web-applilcation is using forms that need to post back to server. Again load balancer need to intercept this post-back to see which machine is available and then route this request to that machine. http://MyLoadBalancerIP/MyApp -> http:// FirstHostMachineIP/MyApp http://MyLoadBalancerIP/MyApp -> http:// SecondHostMchineIP/MyApp Any idea how this could be done?
Try using HttpModule
Castle Rider
What if I freeze??? Don't forget to breath...
My: Website | Yahoo Group | Blog Spot