[kepler-dev] Threading in kepler
Tristan King
tristan.king at jcu.edu.au
Wed Sep 13 15:55:16 PDT 2006
Thanks Everyone, i'll play with that today and report back on my
findings
On 14/09/2006, at 2:53 AM, Efrat Frank wrote:
> Ok, found it. $PTII/ptolemy/actor/lib/hoc/demo/HocDE/HocDE.xml
>
> The workflow uses a high order component, that duplicates itself N
> times. It uses the DE director.
>
> Efrat
>
> Efrat Frank wrote:
>> Ptolemy has an example of duplicating a subworkflow while the
>> workflow
>> is running. I can't find it now. I'll email it to you as soon as
>> found.
>>
>> Efrat
>>
>> Tristan King wrote:
>>
>>
>>> hi guys,
>>>
>>> basically i'm looking for a bit of an explaination on how threading
>>> works in kepler, and any ideas to what i might be able to do to
>>> solve
>>> the below problem.
>>>
>>> I'm running into a problem where my kepler workflow isn't able to
>>> keep up with the data being created from processing (thus my data
>>> queue is getting full and dying).
>>>
>>> My workflow consists of a source which polls a data queue for new
>>> data and when new data arrives, sends that data (an xml parcel) to
>>> the rest of the workflow.
>>>
>>> Each data processing pipeline in the workflow is independent on the
>>> progress of the other pipelines, thus new threads could be
>>> started to
>>> preform the processing task.
>>>
>>> However, it seems to me that each Actor in the workflow only runs a
>>> single thread for each actor. (i'm using the PN Director).
>>>
>>> Is there a way i can spawn a new thread to preform a particular
>>> pipeline, while leaing my data source in a single thread
>>> producing data?
>>>
>>> Thanks for any help you can give me.
>>> --Tristan
>>> _______________________________________________
>>> Kepler-dev mailing list
>>> Kepler-dev at ecoinformatics.org
>>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/
>>> kepler-dev
>>>
>>>
>>>
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at ecoinformatics.org
>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/
>> kepler-dev
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20060914/daa78c95/attachment.html>
More information about the Kepler-dev
mailing list