简体   繁体   中英

IIS7.5 Application Request Routing (ARR) proxy to multiple ports

I have an unusual scenario, where I am trying to scale a WCF service that isn't thread safe. I have four instances of the service running on a single 4-core server, in four separate IIS web sites, with CPU affinity enabled. The sites are bound to ports 8022, 8023, 8024 and 8025.

My question is: can I use Application Request Routing (ARR) to load balance requests to a single port (80) across these four sites?

As far as I know you can't use the Webfarm-Framework for balancing between different ports on one Server. Maybe because from a failure safety perspective it dosn't make sence. A workaround is to add some additional IPs to your Webserver and configure your 4 web sites bindings to listen on the same port but on different IPs. So you cann set up a web farm with 4 different IPs as servers which in fact are locatet on the same physical machine.

hope this helps. Best regards, Peter

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM