Forum Discussion

Asneel_173903's avatar
Asneel_173903
Icon for Nimbostratus rankNimbostratus
Oct 14, 2014

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

  • 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.

     

  • Hi ,what does the F5 look for in the requests and then assign cookies to those requests ?

     

    • Arnaud_Lemaire's avatar
      Arnaud_Lemaire
      Icon for Employee rankEmployee
      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.
  • so if I have everything setup as as then do we know why would it no be working as expected ?

     

    • Arnaud_Lemaire's avatar
      Arnaud_Lemaire
      Icon for Employee rankEmployee
      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.