views:

37

answers:

0

I want to achieve a application, to spawn new process execute tasks, basically like below.

web----->pyro----->multiprocessing

Through web send command,and communicate with pyro, and then pyro spwan new process to handle the task script.

What confused me is..

  1. When I send tasks through pyro once, I send another task, is it possible? How to keep the master process multiprocessing, when the task is idle, I want to keep the master process alive always wait for new tasks.
  2. Is this design redundancy or any other better design.