This gist shows and example or an asynchronous multiprocess task broker which can take job requests and report on running jobs via a minimal REST API.
Adapted from https://gist.github.com/nitaku/10d0662536f37a087e1b
All of the caveats from the original author still apply.