title: Master Slave Pattern : Job Distribution
body: <p>Are there any standard algorithm to distribute the work among the slaves in the master/slave pattern? I have master which distributes job among the slaves via queue for now. But If I have to put job priority into the picture what kind of data structure/algorithm can be used? </p>
  
  <p>Looking for some suggestion.</p>
  
  <p>Thanks in advance,</p>
  
  <p>Bibek Dawadi</p>