On Oct 16, 2010, at 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 sessions. We don't have HTTP session replication.


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.


Basically the solution should include authenticating to all servers in the
initial authentication step and then preserving those sessions and reusing
them.

This should happen at the load balancer level IMO. Doesn't adding the
session tag just preserve a single session?


>
>
>
> On Sat, Oct 16, 2010 at 9:58 AM, Tharindu Mathew <[email protected]>wrote:
>
>> Hi everyone,
>>
>> We have an issue where in a load balanced configuration (3 registries
>> behind a load balancing esb) only the 1st server that the initial
>> request goes out to gets authenticated. The subsequent requests that
>> goes to the other servers fail due to not being authenticated. We are
>> using the web service API of the g-reg.
>>
>> Could we solve this problem using sticky sessions or any other mechanism.
>>
>> Any feedback would help.
>>
>> Thanks in advance.
>>
>> Regards,
>>
>> Tharindu
>>
>> Sent from my iPhone
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> *Afkham Azeez*
> Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com,
> *
> *
> *Member; Apache Software Foundation; 
> **http://www.apache.org/*<http://www.apache.org/>
> *
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> 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
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to