An implementation of the Master-Worker messaging pattern for distributing work.