dgaramond2 has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using Proc::Reliable in CGI
by almut (Canon) on Apr 14, 2007 at 14:07 UTC | |
by dgaramond2 (Monk) on Apr 14, 2007 at 19:00 UTC | |
|
Re: Using Proc::Reliable in CGI
by aufflick (Deacon) on Apr 15, 2007 at 08:47 UTC |