The previous section introduced a low-level mechanism to establish communication among the processes using system calls directly. This was necessary to contextualize the communication between processes in the Linux and Unix environments. Now, we will use a Python module, PP, to establish IPC communication not only among local processes, but also physically distributed throughout a computer network.
The available PP module documentation is not extensive. We can find the documents and FAQs at http://www.parallelpython.com/component/option,com_smf/. The API provides a wide notion of how this tool should be used; it is simple and straightforward.
The most important advantage of using PP is the abstraction that this module provides. Some important features of PP are as follows:
Automatic detection of number of processors to improve load balance
Many processors allocated can be changed at runtime
Load balance at runtime
Auto-discovery resources throughout the network
The PP module implements...