parallel processing - Most efficient way to notify serving machine when served has completed task (all within a local network)? -


i have tentative plan write script that, given large task, parallel processes job across local network of linux machines.

my question is, how can best notify computer serving parts of job child computers when child has completed chunk of job? first thought have each child write known file status updates, seemed inefficient. there better solution?

ps: know question sparse on details. first time working lot of these concepts , involved. learning go, if there's relevant haven't included, please let me know , can try include it.

try have @ gearman (http://gearman.org/). hope fit task mine. takes responsibility client-worker notifications. task have 2 pieces:

  1. the worker pick piece of job gearman, it's job , return result back.
  2. the client chunk whole job pieces , feed gearman, wait until done , "clue" results returned gearman.

the gearman middle man serves queue of tasks.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -