Two phase worker queue system example.