Hi Akila,

We need to make other component's thread pool sizes also configurable. It
is hard coded to 10 in CC and 20 in SM.

What if we make them configurable via autoscaler.xml, stratos-manager.xml
and cloud-controller.xml respectively? Better to avoid creating new config
files. wdyt?

Thanks,
Raj.

On Fri, Nov 13, 2015 at 3:46 PM, Akila Ravihansa Perera <raviha...@wso2.com>
wrote:

> Hi,
>
> I'll work on this. I couldn't see any code changes required for this. Only
> adding this config file and documenting it ryt?
>
> Thanks.
>
> On Fri, Nov 13, 2015 at 3:17 PM, Rajkumar Rajaratnam <rajkum...@wso2.com>
> wrote:
>
>> Thanks Gayan.
>>
>> Can someone own this task? I am currently working on STRATOS-1614 &
>> STRATOS-1615.
>>
>> Thanks,
>> Raj.
>>
>> On Fri, Nov 13, 2015 at 2:18 PM, Gayan Gunarathne <gay...@wso2.com>
>> wrote:
>>
>>> Hi Raj,
>>>
>>> Ideally we need to read from the thread pool information from the
>>> configuration. Then we can have a control over the threads size that each
>>> component is using.
>>>
>>> But current code base , seems it is getting from the default value. I
>>> think we need to include the this thread information in configuration level.
>>>
>>> Thanks,
>>> Gayan
>>>
>>> On Fri, Nov 13, 2015 at 2:01 PM, Rajkumar Rajaratnam <rajkum...@wso2.com
>>> > wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> By looking at the code [1], this file supposed to be having thread
>>>> pools information. But where is stratos-config.xml file? :)
>>>>
>>>> Since this file is not there, it also implies that we can't configure
>>>> thread pool sizes.
>>>>
>>>> Any thoughts?
>>>>
>>>> [1]
>>>> https://github.com/apache/stratos/blob/stratos-4.1.x/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/internal/AutoscalerServiceComponent.java#L95-L105
>>>>
>>>> Thanks,
>>>> Raj.
>>>>
>>>> --
>>>> Rajkumar Rajaratnam
>>>> Committer & PMC Member, Apache Stratos
>>>> Software Engineer, WSO2
>>>>
>>>> Mobile : +94777568639
>>>> Blog : rajkumarr.com
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Gayan Gunarathne
>>> Technical Lead, WSO2 Inc. (http://wso2.com)
>>> Committer & PMC Member, Apache Stratos
>>> email : gay...@wso2.com  | mobile : +94 775030545 <%2B94%20766819985>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Rajkumar Rajaratnam
>> Committer & PMC Member, Apache Stratos
>> Software Engineer, WSO2
>>
>> Mobile : +94777568639
>> Blog : rajkumarr.com
>>
>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Rajkumar Rajaratnam
Committer & PMC Member, Apache Stratos
Software Engineer, WSO2

Mobile : +94777568639
Blog : rajkumarr.com

Reply via email to