A framework for dealing with workers of TheSchwartz or Gearman