My recipe: - Run the resource extensive function in a separate process. - Use dedicated comet server for progress bar notifications. I highly recommend Orbited.
On Aug 25, 11:21 am, Phyo Arkar <phyo.arkarl...@gmail.com> wrote: > Hello Web2py > > I am running the resource extensive function , which is extracting > every archive , parse text out of every file under there and then > inserting into database. > > But i want to make an ajax progressbar , by polling at specific > interval. But it wont work as web2py > > How can i achieve this? > > 1) Long Polling , is that supported in web2py ? (rocket supports it) > > 2) Fork the function ? how can i achieve this? > > 3) May be run it as separate process?