Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
AW: Framework for handling Query tasks that take a LONG time
 

Index | Next | Previous | View Flat


Alexander.Elgert at external

Jul 23, 2012, 5:39 AM


Views: 931
Permalink
AW: Framework for handling Query tasks that take a LONG time [In reply to]

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:
http://docs.jquery.com/UI/Progressbar

Greetings,
Alexander

--
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)
E-Mail: alexander.elgert [at] gmx

________________________________________
Von: Igor Chudov [ichudov [at] gmail]
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 (algebra.com 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?

Specifically:

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.

Thanks!

i

Subject User Time
Framework for handling Query tasks that take a LONG time ichudov at gmail Jul 22, 2012, 8:20 PM
    Re: Framework for handling Query tasks that take a LONG time torsten.foertsch at gmx Jul 23, 2012, 3:12 AM
        Re: Framework for handling Query tasks that take a LONG time ichudov at gmail Jul 26, 2012, 5:43 AM
    AW: Framework for handling Query tasks that take a LONG time Alexander.Elgert at external Jul 23, 2012, 5:39 AM
    AW: Framework for handling Query tasks that take a LONG time Alexander.Elgert at external Jul 23, 2012, 12:10 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.