Hi,

I am designing a web page with Web.py and since I don't have that much
experience in Web programming I am writing to the list to ask for
advice.

My question if about what is the best thing to do when some job
submitted to Web.py will take a ver long time. In my case, what I am
working on is uploading large files then processing within Python and
storing them in SQLite. The processing part is what really takes long,
possible up to an hour. One option I had been thinking about just
forking the process, the parent goes on to report to the user that
file was received correctly, while the child goes to perform the
processing in the background. Since, this is not going to be done very
frequently, I've thought also about disabling access to the website
will the database is updated.

My question is. Is there a more elegant way to handle this? Using a
3rd party solution? Or within Web.py?

Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to