perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Framework for handling Query tasks that take a LONG time
Date Mon, 23 Jul 2012 19:10:23 GMT
In my opinion, this is the correct way.

There are many web applications, whichs polls every few seconds to give the server a hint,
that the client is interested in the answer.
(This way you are able to abort a long_running_whatever.)
On newer applications, JavaScript is used, of course - so you can do what you like in the
meanwhile, without any need to update the page itself.
As soon as the call comes back, you can call an update function to handle the output.

There are progress bars available too:

I know, this is not a complete solution to your question, but just a little hint.


Deutsche Telekom AG
Seamless ICT Security Infrastructure & Management
im Auftrag T-Systems International GmbH
Dipl. Inf Alexander Elgert
Langwadener Strasse 17
64625 Bensheim
+49 176 22 717 661 (Mobil)
+49 671 83419-12 (Tel)
+49 671 83419-30 (Fax)

Von: Igor Chudov []
Gesendet: Montag, 23. Juli 2012 05:20
An: Mod_Perl
Betreff: Framework for handling Query tasks that take a LONG time

I am working on my internal IT system for my business. It is, of course, mod_perl based, as
is the rest of what I do ( etc).

As a part of it, I have an intranet web form that starts a task, which happens to take a long
time, such as minutes.

I would like to handle this correctly.

While I read some helpful suggestions, my first instinct would be to look for some existing
framework based on mod_perl, instead of trying to reinvent the wheel.

Would anyone happen to have a suggestion of such a perl module or framework for executing
long queries in a nice and graceful manner?


1) Start a long query
2) Display an intermediate page that self refreshes
3) Display progress of a task
4) Displaying correct results when task completes.



View raw message