We recommend it where network level restrictions are there for Thrift.
WSClient only requires HTTP level access, where as for Thrift it's a new
port. Thrift, if done correct can reach far more concurrency.



On Thu, Jun 12, 2014 at 8:06 PM, Ajith Vitharana <aji...@wso2.com> wrote:

>
> Hi Sumedha,
>
> On Thu, Jun 12, 2014 at 7:53 PM, Sumedha Rubasinghe <sume...@wso2.com>
> wrote:
>
>> But normal practice is to have the best possible configuration as the
>> default one.
>>
>
> Why WSClient is not best for default, even we recommended it for
> production ?
>
> Thanks
> Ajith.
>
>
>>
>>
>> On Thu, Jun 12, 2014 at 7:51 PM, Ajith Vitharana <aji...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> Most of the time we deploy the AM as a distributed cluster and we can't
>>> use thrift for key validations. So our recommendation to use WSClient
>>> instead of thrift. Therefore it is better to keep the default configuration
>>> with WSClient and disable thrift, using that we can deduce the a
>>> configurations step. The advance is configuring the so many instances.
>>>
>>>        <KeyValidatorClientType>*WSClient*</KeyValidatorClientType>
>>>         <ThriftClientPort>10397</ThriftClientPort>
>>>
>>> <ThriftClientConnectionTimeOut>10000</ThriftClientConnectionTimeOut>
>>>         <ThriftServerPort>10397</ThriftServerPort>
>>>         <!--ThriftServerHost>localhost</ThriftServerHost-->
>>>         <EnableThriftServer>*false*</EnableThriftServer>
>>>
>>> WDYT ?
>>>
>>> Thanks.
>>> Ajith
>>>
>>>
>>> --
>>> Ajith Vitharana.
>>> WSO2 Inc. - http://wso2.org
>>> Email  :  aji...@wso2.com
>>> Mobile : +94772217350
>>>
>>>
>>
>>
>> --
>> /sumedha
>> m: +94 773017743
>> b :  bit.ly/sumedha
>>
>
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  aji...@wso2.com
> Mobile : +94772217350
>
>


-- 
/sumedha
m: +94 773017743
b :  bit.ly/sumedha
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to