Some sample code of a webserver (written in python using Twisted) that does computation via an external c++ worker client.