On Sat, Oct 16, 2010 at 7:01 PM, Sanjiva Weerawarana <[email protected]>wrote:

> If all threads share one http session then that amounts to serializing all
> interactions to the server down one http connection. In that case the LB has
> to send all requests to the same node.
>
> Each thread has to use its own serviceclient or you have no parallelism ...
>

Yes, so Tharindu, I believe that you will have to maintain a pool of service
clients @ the client side and reuse them, when making calls to the LB. So,
you will have to authenticate once per client on the pool.

Thanks,
Senaka.

> Sanjiva.
>
> Sent from my phone.
>
> On Oct 16, 2010 6:46 PM, "Senaka Fernando" <[email protected]> wrote:
>
>
>
> On Sat, Oct 16, 2010 at 10:10 AM, Afkham Azeez <[email protected]> wrote: > >
> You need to use sticky se...
>
> Azeez, this is a tricky problem. We have one client that spawns 100 threads
> but reuses the ServiceClient, IIRC. So, I believe that we might need to
> create multiple ServiceClients and use Sticky Sessions. If not, the entire
> load ends up on one node right?
>
> Thanks,
> Senaka.
>
> > > > > > > On Sat, Oct 16, 2010 at 9:58 AM, Tharindu Mathew <
> [email protected]> wrote: >> >> Hi eve...
>
>
>
> --
> Senaka Fernando
> Associate Technical Lead
> WSO2 Inc.
> E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818
>
> http://www.wso2.com/ - "Lean . Enterprise . Middleware"
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Senaka Fernando
Associate Technical Lead
WSO2 Inc.
E-mail: senaka AT wso2.com;  Mobile: +94 77 322 1818

http://www.wso2.com/ - "Lean . Enterprise . Middleware"
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to