Forum Discussion
Load balancing and multi threading with IIS
Hi We have a wcf application which is multithreaded ( ~ 8 threads ) . This calls out to a https vip , , one connect profile , cookie based persistence and pool with 4 members set to RR. WCF is using http bindings with keep alive = enabled .
How can we ensure the threads end up on the same backend server or whats the best way to ensure optimal performance ?
Thanks
5 Replies
- Arnaud_Lemaire
Employee
Seems that you have all you need. oneconnect + http profile allow you to do per request management. so big-ip should be able to check cookie's requests to match them to the correct back end.
- Asneel_173903
Nimbostratus
Hi ,what does the F5 look for in the requests and then assign cookies to those requests ?
- Arnaud_Lemaire
Employee
If the big-ip receives a new connection with a request without cookie he applies a load balancing decision and reply with a cookie designing the server he has selected.
- Asneel_173903
Nimbostratus
so if I have everything setup as as then do we know why would it no be working as expected ?
- Arnaud_Lemaire
Employee
Big-ip doesn't know about your thread concept he is load balancing tcp connections and requests. What could happen is with one connect he can multiplex different requests in the same tcp connection handled by another thread. In such case you should remove one connect if it a your issue. But you didn't describe what was your issue exactly here.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com