문제

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top