Hello
I viewed the source code and documentation of fabric, found I need
use @parallel decorator to run func in parallel mode. I have two
thoughts here.
- I feel parallel(functions = {'host1': [func1, func2, func3],
'host2': [func4, func5]}, pool = 2) seems more pragrammatic.
This gives me option to use same function with and
without parallel mode.
2. I couldn't see multiprocessing or gevent module getting
called but Random.task(), is there any specific reason ?
--
Thanks & Regards
Kracekumar.R
"Talk is cheap, show me the code." -- Linus Torvalds
|