coobas / wowp

WOWP (A WOrkfloW Framework in Python) is a modern, light-weight framework for integrated simulations in science.
http://pythonic.eu/wowp/
MIT License
2 stars 1 forks source link

"Temporary" actors #11

Open coobas opened 6 years ago

coobas commented 6 years ago

Originally reported by: Jan Pipek (Bitbucket: janpipek, GitHub: janpipek)


I don't like the way Chain (in a naive way) and MapReduce (in a more sophisticated way) create actors and use schedulers. My opinion is that no actor should ever know what a scheduler is.

We should think about another implementation that would allow dynamic creation of actors. I suggest that we create something like "temporary actors" which will be returned by the main actor (@decorated or inheriting DynamicActor) and reused in the workflow scheduler and later deleted.


coobas commented 6 years ago

Original comment by Jakub Urban (Bitbucket: urbanj, GitHub: urbanj):


Sounds good, and challenging :)