You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Nirmal Fernando <ni...@gmail.com> on 2013/11/18 05:03:23 UTC

Using a task management library to handle tasks in Stratos

Hi All,

I think it's better if we could use a task management library in Stratos to
schedule tasks, without trying to use explicit threads. WDYT?

-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Using a task management library to handle tasks in Stratos

Posted by Nirmal Fernando <ni...@gmail.com>.
Yes, I believe the same.


On Mon, Nov 18, 2013 at 7:21 PM, Amila Maha Arachchi <am...@wso2.com>wrote:

> ntask component allows you to schedule task using cron strings. AFAIK it
> uses quartz. So the minimum task interval cannot be one minute. It should
> support any cron string.
>
>
> On Mon, Nov 18, 2013 at 5:26 PM, Reka Thirunavukkarasu <re...@wso2.com>wrote:
>
>> Will the ntask or the task manager allow us to configure task interval in
>> seconds? If it uses cron job, then the minimum task interval will be one
>> minute..Please correct me, if I'm wrong.
>>
>> Thanks,
>> Reka
>>
>>
>> On Sun, Nov 17, 2013 at 9:58 PM, Amila Maha Arachchi <am...@wso2.com>wrote:
>>
>>> Carbon kernel provides the ntask feature which allows you to schedule
>>> tasks.
>>>
>>>
>>> On Mon, Nov 18, 2013 at 9:33 AM, Nirmal Fernando <nirmal070125@gmail.com
>>> > wrote:
>>>
>>>> Hi All,
>>>>
>>>> I think it's better if we could use a task management library in
>>>> Stratos to schedule tasks, without trying to use explicit threads. WDYT?
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> *Amila Maharachchi*
>>> Senior Technical Lead
>>> WSO2, Inc.; http://wso2.com
>>>
>>> Blog: http://maharachchi.blogspot.com
>>> Mobile: +94719371446
>>>
>>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>
>
> --
> *Amila Maharachchi*
> Senior Technical Lead
> WSO2, Inc.; http://wso2.com
>
> Blog: http://maharachchi.blogspot.com
> Mobile: +94719371446
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: Using a task management library to handle tasks in Stratos

Posted by Amila Maha Arachchi <am...@wso2.com>.
ntask component allows you to schedule task using cron strings. AFAIK it
uses quartz. So the minimum task interval cannot be one minute. It should
support any cron string.


On Mon, Nov 18, 2013 at 5:26 PM, Reka Thirunavukkarasu <re...@wso2.com>wrote:

> Will the ntask or the task manager allow us to configure task interval in
> seconds? If it uses cron job, then the minimum task interval will be one
> minute..Please correct me, if I'm wrong.
>
> Thanks,
> Reka
>
>
> On Sun, Nov 17, 2013 at 9:58 PM, Amila Maha Arachchi <am...@wso2.com>wrote:
>
>> Carbon kernel provides the ntask feature which allows you to schedule
>> tasks.
>>
>>
>> On Mon, Nov 18, 2013 at 9:33 AM, Nirmal Fernando <ni...@gmail.com>wrote:
>>
>>> Hi All,
>>>
>>> I think it's better if we could use a task management library in Stratos
>>> to schedule tasks, without trying to use explicit threads. WDYT?
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> *Amila Maharachchi*
>> Senior Technical Lead
>> WSO2, Inc.; http://wso2.com
>>
>> Blog: http://maharachchi.blogspot.com
>> Mobile: +94719371446
>>
>>
>
>
> --
> Reka Thirunavukkarasu
> Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 
*Amila Maharachchi*
Senior Technical Lead
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446

Re: Using a task management library to handle tasks in Stratos

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
Will the ntask or the task manager allow us to configure task interval in
seconds? If it uses cron job, then the minimum task interval will be one
minute..Please correct me, if I'm wrong.

Thanks,
Reka


On Sun, Nov 17, 2013 at 9:58 PM, Amila Maha Arachchi <am...@wso2.com>wrote:

> Carbon kernel provides the ntask feature which allows you to schedule
> tasks.
>
>
> On Mon, Nov 18, 2013 at 9:33 AM, Nirmal Fernando <ni...@gmail.com>wrote:
>
>> Hi All,
>>
>> I think it's better if we could use a task management library in Stratos
>> to schedule tasks, without trying to use explicit threads. WDYT?
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> *Amila Maharachchi*
> Senior Technical Lead
> WSO2, Inc.; http://wso2.com
>
> Blog: http://maharachchi.blogspot.com
> Mobile: +94719371446
>
>


-- 
Reka Thirunavukkarasu
Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Re: Using a task management library to handle tasks in Stratos

Posted by Amila Maha Arachchi <am...@wso2.com>.
Carbon kernel provides the ntask feature which allows you to schedule
tasks.


On Mon, Nov 18, 2013 at 9:33 AM, Nirmal Fernando <ni...@gmail.com>wrote:

> Hi All,
>
> I think it's better if we could use a task management library in Stratos
> to schedule tasks, without trying to use explicit threads. WDYT?
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
*Amila Maharachchi*
Senior Technical Lead
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446