On some requests I need to run a long process (15+ mintues), but return 
immediately to the calling user.

For now, I've created a command line interface for heavy function, that 
runs the python script but doesn't wait.

(In my case, I don't need the output.)

Recently I saw that there was a background module that does that.
I assume it doesn't have the overhead of starting a new process + new 
python session, etc, so it's better to use it.

*Questions:*
web2py website says it's been separated from the web2py package.
why was it separated?
is my assumption on process vs. thread - correct? i.e. subprocess vs. 
background.py usage.
i saw that the code at some point was not stable.
What's the state today, generally speaking?


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to