IPython parallel provides some decorators to assist in using your functions as tasks.
Connection Diagrams of The IPython ZMQ Cluster