You can try celery, a python based task execution framework and you can submit the tasks like parsing and then poll for the result. So when the result is not completed, you can update the client. But this may be little more for your simple requirements. Link: http://celeryproject.org/
On Mar 28, 8:44 am, Charlie Meyer <[email protected]> wrote: > Hi all, > > I'm currently working on a pylons project and I have some controller actions > that take a while to complete (60-90 seconds). Basically, it involves the > user uploading an archive of files that are then processed and analyzed. I > wanted to know if there was a way to incrementally output to the user the > progress of the long running job, either in a text box (or something > similar) or printed as the page slowly loads? I can calculate the percent > complete the job is at any given time, so i would like some way to feed this > information back to the user so it does not appear as if the application is > hanging. Any suggestions or best practices to accomplish this would be > appreciated. > > thanks > > -Charlie -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
