After shopping around in CPAN, I found that Proc::Reliable provides most of the functionalities that I need for my web application.
The requirements are: web users can submit tasks. Tasks are processes that can take quite some time to finish (e.g. "wget http://host/some_big_file" or "tar xfz some_huge_tarball"). So the web app will queue these tasks in a single big Task Queue instead of running them directly after form submission. There's a maximum number of items for the Task Queue, as well as per-user max. The max values are adjustable depending on system load and other factors. For each task there's a time limit imposed as well as other options like number of retries when failed (which will be taken care of by Proc::Reliable), "nice" value, etc. Web users can view the output and status of his/her tasks, and perform other options like cancelling them or moving the priority of his/her queued tasks.
I'm wondering if there are other CPAN modules which are closer to my needs than Proc::Reliable, or if there are some other complementary modules I can use for less reinvention of wheels.
In reply to Using Proc::Reliable in CGI by dgaramond2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |