meta-par-dist-tcp-0.3: Distributed execution component for the meta-par framework (TCP based).

Safe HaskellSafe-Infered

Control.Monad.Par.Meta.DistSMP

Description

Combines multi-process with multi-thread execution.

Synopsis

Documentation

longSpawn :: (NFData a, Serializable a) => ParClosure a -> Par (IVar a)

Spawn a parallel subcomputation that can happen either locally or remotely.

data WhichTransport

Select from available transports or provide your own. A custom implementation is required to create a transport for each node given only an indication of master or slave. Notably, it is told nothing about WHICH slave is being instantiated and must determine that on its own.

Constructors

TCP 
Pipes 
Custom (InitMode -> IO Transport) 

Instances