wiki:MultiplexerModule
Last modified 9 years ago Last modified on 11/30/07 22:53:55

Multiplexer

Func now contains an interesting "multiplexer" feature for high performance usage.

Essentially it allows any Func command (with --forks=N) or any Client API invocation (parameter: forks=N) to execute in multiple processes.

For instance, if you had a batch of 1000 systems, you could specify 10 threads, and execute slow remote operations in parallel, probably getting done about 10 times faster.

The choice of how many processes to use is entirely up to the user. Choosing a really high number may bog down the overlord system, though in some cases, you may just want to finish a task very quickly and this might not be a problem. Or you could just choose a more conservative value.

To the user of the command line, or the API, how many processes being used behind the scenes is completely transparent.

-- MichaelDeHaan