This module can be used to run a set of Erlang nodes as a pool of computational processors. It is organized as a master and a set of slave nodes and includes the following features:
The BIF
The slave nodes are started with the
If the master node fails, the entire pool exits.
Ensures that a pool master is running and includes
Returns the node with the expected lowest future load.
Returns a list of the current member nodes of the pool.
Spawns a process on the pool node that is expected to have the lowest future load.
Spawns and links to a process on the pool node that is expected to have the lowest future load.
Starts a new pool. The file
The slave nodes are started with
Access rights must be set so that all nodes in the pool have the authority to access each other.
The function is synchronous and all the nodes, and all the system servers, are running when it returns a value.
Stops the pool and kills all the slave nodes.