As a point of curiosity following up on this, will Fabric 2.0 also use multiprocessing? I know the plan is to use env to pass data between processes, but that suggests to me that all access to env will be protected by a Big Fat lock. Multithreading as an option would let users rely on lighter weight synchronization.
Also, is there a place where the roadmap for Fabric 2.0 is laid out? I'm just wondering what Mr. Forcier's Master Plan involves. On Wed, Apr 24, 2013 at 1:51 PM, Worker Bee <[email protected]> wrote: > Thanks, Eric! > > > > On Wed, Apr 24, 2013 at 2:42 PM, Eric Brunson <[email protected]> wrote: > >> On 04/24/2013 12:37 PM, Worker Bee wrote: >> >> Hi Eric; >> >> I am sorry, I do not understand your reply. Is there an optiion other >> than -P that I should use for parallel/multi-thread execution? >> >> >> >> The multiprocessing module provides an interface similar to the threading >> module, but using subprocesses rather than threads to create workers. So, >> no, fabric does not support multi-threaded parallelization, it supports >> multi-process parallelization. >> >> >> >> >> On Wed, Apr 24, 2013 at 2:33 PM, Eric Brunson <[email protected]>wrote: >> >>> On 04/24/2013 12:22 PM, Worker Bee wrote: >>> >>>> Hello Everyone; >>>> >>>> I just found this in the 1.6 documentation and I am very confused. >>>> Dose this mean that Fabric does NOT support multi-threaded >>>> parallelization, despite the presence of the -P option? >>>> >>>> >>>> >>> I believe it uses the multiprocessing module for parallel execution. >>> >>> >>> >>> _______________________________________________ >>> Fab-user mailing list >>> [email protected] >>> https://lists.nongnu.org/mailman/listinfo/fab-user >>> >> >> >> >> _______________________________________________ >> Fab-user mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/fab-user >> >> > > _______________________________________________ > Fab-user mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/fab-user > > -- System Administrator for the UoC CSIL Contributor to the Manticore Project BS in Computer Science and Mathematics from the UoC, June 2013 Nothing, not even genius, is a substitute for diligence.
_______________________________________________ Fab-user mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/fab-user
